1
0
mirror of synced 2025-12-14 10:54:18 +08:00

chore: update babel dependencies

This commit is contained in:
redhoodsu
2019-11-03 23:54:42 +08:00
parent 28c43ed109
commit ea27f5b051
4 changed files with 15 additions and 10 deletions

View File

@@ -26,7 +26,6 @@ module.exports = {
output: {
path: path.resolve(__dirname, '../'),
publicPath: '/assets/',
library: ['eruda'],
libraryTarget: 'umd'
},
module: {
@@ -49,8 +48,8 @@ module.exports = {
{
loader: 'babel-loader',
options: {
presets: ['env'],
plugins: ['transform-runtime']
presets: ['@babel/preset-env'],
plugins: ['@babel/plugin-transform-runtime']
}
},
'eslint-loader'