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:
parent
eda9e7326b
commit
fd8c542565
2
.babelrc
2
.babelrc
@ -1,7 +1,7 @@
|
||||
{
|
||||
"presets": [["@babel/preset-env", {
|
||||
"useBuiltIns": "entry",
|
||||
"modules": "cjs",
|
||||
"modules": false,
|
||||
"loose": true,
|
||||
"targets": {
|
||||
"ie": "8",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user