stage config
This commit is contained in:
parent
cab8665c3e
commit
94dae0a5a3
2 changed files with 6 additions and 4 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"start": "webpack --config webpack.dev.js --mode development",
|
"start": "webpack --config webpack.dev.js --mode development",
|
||||||
|
"stage": "webpack --config webpack.stage.js --mode production",
|
||||||
"prod": "webpack --config webpack.prod.js --mode production"
|
"prod": "webpack --config webpack.prod.js --mode production"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
||||||
|
|
@ -76,11 +76,12 @@ module.exports = {
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
options: {
|
options: {
|
||||||
presets: [
|
presets: [
|
||||||
'@babel/preset-env',
|
['@babel/preset-env',
|
||||||
{
|
{
|
||||||
"useBuiltIns": "entry"
|
"useBuiltIns": "entry",
|
||||||
}
|
"corejs": 3.9
|
||||||
],
|
}]
|
||||||
|
]
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue