This commit is contained in:
Evan You
2017-12-29 19:36:33 -05:00
parent d18de35c7d
commit 82b1db340f
2 changed files with 7 additions and 4 deletions
@@ -63,9 +63,9 @@ module.exports = (api, options) => {
// hmr client
projectDevServerOptions.hotOnly
? 'webpack/hot/dev-server'
: 'webpack/hot/only-dev-server',
// custom overlay client
`@vue/cli-overlay/dist/client`
: 'webpack/hot/only-dev-server'
// TODO custom overlay client
// `@vue/cli-overlay/dist/client`
])
const compiler = webpack(webpackConfig)
@@ -114,7 +114,8 @@ module.exports = (api, options) => {
hot: true,
quiet: true,
compress: true,
publicPath: webpackConfig.output.publicPath
publicPath: webpackConfig.output.publicPath,
overlay: { warnings: false, errors: true } // TODO disable this
}, projectDevServerOptions, {
https: useHttps,
proxy: proxySettings,
@@ -104,6 +104,8 @@ module.exports = (api, options) => {
to: api.resolve(options.outputDir),
ignore: ['index.html', '.*']
}]])
// TODO investigate DLL plugin options
}
})
}