chore: minimal es6 refactor

This commit is contained in:
endiliey 2018-08-08 17:19:26 +08:00
parent 1eef464fc0
commit 05c90a208c
3 changed files with 10 additions and 7 deletions

View file

@ -15,6 +15,10 @@ module.exports = function createBaseConfig(props) {
.filename(isProd ? 'bundle.js' : '[name].js')
.publicPath(isProd ? baseUrl : '/');
if (!isProd) {
config.devtool('cheap-module-eval-source-map');
}
config.resolve
.set('symlinks', true)
.alias.set('@theme', themePath)