Get rid of babel-preset-es2015

This commit is contained in:
Tyler Long
2017-12-20 22:10:58 +08:00
parent 26eaaa8c79
commit 7e01b2b3fb
4 changed files with 3 additions and 4 deletions

11
webpack.config.babel.js Normal file
View File

@@ -0,0 +1,11 @@
import nodeExternals from 'webpack-node-externals'
import { jsConfig } from './webpack.config.base'
const config = jsConfig()
const coreConfig = jsConfig()
coreConfig.externals = [nodeExternals()]
coreConfig.output.filename = '[name].core.js'
export default [config, coreConfig]