stage config

This commit is contained in:
ReznoRMichael 2021-02-19 00:36:15 +01:00
parent cab8665c3e
commit 94dae0a5a3
2 changed files with 6 additions and 4 deletions

View file

@ -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": {

View file

@ -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
], }]
]
}, },
}, },
}, },