Update build config
This commit is contained in:
parent
7afdc06c7c
commit
cd6c90d271
|
|
@ -17,7 +17,7 @@ spinner.start()
|
||||||
rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
|
rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
|
||||||
if (err) throw err
|
if (err) throw err
|
||||||
webpack(webpackConfig, (err, stats) => {
|
webpack(webpackConfig, (err, stats) => {
|
||||||
spinner.stop()
|
spinner.succeed()
|
||||||
if (err) throw err
|
if (err) throw err
|
||||||
process.stdout.write(stats.toString({
|
process.stdout.write(stats.toString({
|
||||||
colors: true,
|
colors: true,
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,6 @@ const devWebpackConfig = merge(baseWebpackConfig, {
|
||||||
__VUE_OPTIONS_API__: true, // default, but explicit
|
__VUE_OPTIONS_API__: true, // default, but explicit
|
||||||
__VUE_PROD_DEVTOOLS__: false, // default, but explicit
|
__VUE_PROD_DEVTOOLS__: false, // default, but explicit
|
||||||
}),
|
}),
|
||||||
new webpack.HotModuleReplacementPlugin(),
|
|
||||||
// https://github.com/ampedandwired/html-webpack-plugin
|
// https://github.com/ampedandwired/html-webpack-plugin
|
||||||
new HtmlWebpackPlugin({
|
new HtmlWebpackPlugin({
|
||||||
filename: 'index.html',
|
filename: 'index.html',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue