Update webpack config

This commit is contained in:
Tyler Long
2017-12-20 22:20:56 +08:00
parent 7e01b2b3fb
commit b093fc8a55
3 changed files with 5 additions and 7 deletions

View File

@@ -14,11 +14,7 @@ const jsRule = {
loader: 'babel-loader',
options: {
presets: [
['env', {
'targets': {
'browsers': ['last 3 versions']
}
}]
'env'
],
plugins: ['lodash']
}
@@ -52,6 +48,7 @@ export const jsConfig = () => {
},
module: {
rules: [lodashRule, jsRule, lessRule]
}
},
devtool: 'source-map'
}
}