mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 14:47:56 +01:00
Configure babel output
This commit is contained in:
parent
45e79205f1
commit
f1c91e1cda
@ -4,7 +4,13 @@
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"corejs": "3.15",
|
||||
"useBuiltIns": "usage"
|
||||
"useBuiltIns": "usage",
|
||||
"targets": {
|
||||
"browsers": [
|
||||
"last 5 versions",
|
||||
"ie >= 8"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
|
@ -20,7 +20,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build": "webpack --config webpack.prod.js",
|
||||
"start": "webpack serve --config webpack.dev.js"
|
||||
"dev": "webpack --mode development"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.14.6",
|
||||
|
@ -3,8 +3,14 @@
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"corejs": "3.9",
|
||||
"useBuiltIns": "usage"
|
||||
"corejs": "3.15",
|
||||
"useBuiltIns": "usage",
|
||||
"targets": {
|
||||
"browsers": [
|
||||
"last 5 versions",
|
||||
"ie >= 8"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
|
@ -21,8 +21,8 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build": "webpack --config webpack.prod.js",
|
||||
"playground": "webpack serve --config webpack.playground.js",
|
||||
"start": "webpack serve --config webpack.dev.js"
|
||||
"dev": "webpack serve --config webpack.dev.js",
|
||||
"playground": "webpack serve --config webpack.playground.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@wismapping/core-js": "^0.0.1",
|
||||
|
@ -3,10 +3,17 @@
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"corejs": "3.9",
|
||||
"useBuiltIns": "usage"
|
||||
"corejs": "3.15",
|
||||
"useBuiltIns": "usage",
|
||||
"targets": {
|
||||
"browsers": [
|
||||
"last 5 versions",
|
||||
"ie >= 8"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"plugins": ["@babel/plugin-transform-modules-commonjs"]
|
||||
|
||||
}
|
||||
|
@ -20,7 +20,7 @@
|
||||
"url": "git@bitbucket.org:wisemapping/wisemapping-frontend.git"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "nodemon --watch lib",
|
||||
"dev": "webpack --config webpack.dev.js",
|
||||
"build": "webpack --config webpack.prod.js",
|
||||
"playground": "webpack serve --config webpack.playground.js"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user