1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

chore(bulding): use modules: false

This commit is contained in:
Denis Demchenko 2019-08-28 01:12:32 +03:00
parent eda9e7326b
commit fd8c542565
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"presets": [["@babel/preset-env", {
"useBuiltIns": "entry",
"modules": "cjs",
"modules": false,
"loose": true,
"targets": {
"ie": "8",

View File

@ -9,8 +9,8 @@ module.exports = {
mode: 'production', // "production" | "development" | "none"
// Chosen mode tells webpack to use its built-in optimizations accordingly.
entry: {
bundled: ['@babel/polyfill', './src/bowser.js'],
es5: './src/bowser.js',
bundled: ['@babel/polyfill', './src/index.js'],
es5: './src/index.js',
}, // string | object | array
// defaults to ./src
// Here the application starts executing