diff --git a/assets/build/webpack.dev.conf.js b/assets/build/webpack.dev.conf.js index 71269886..ce961a9f 100644 --- a/assets/build/webpack.dev.conf.js +++ b/assets/build/webpack.dev.conf.js @@ -20,7 +20,7 @@ module.exports = merge(baseWebpackConfig, { }, devtool: '#cheap-module-eval-source-map', output: { - path: config.dev.assetsRoot, + path: config.assetsRoot, filename: utils.assetsPath('js/[name].[chunkhash].js'), chunkFilename: utils.assetsPath('js/[id].[chunkhash].js') }, @@ -38,7 +38,7 @@ module.exports = merge(baseWebpackConfig, { // you can customize output by editing /index.html // see https://github.com/ampedandwired/html-webpack-plugin new HtmlWebpackPlugin({ - filename: config.dev.index, + filename: config.index, template: 'assets/index.html', inject: true, // necessary to consistently work with multiple chunks via CommonsChunkPlugin diff --git a/assets/src/components/Editor.vue b/assets/src/components/Editor.vue index 36914a77..dcfbca19 100644 --- a/assets/src/components/Editor.vue +++ b/assets/src/components/Editor.vue @@ -10,7 +10,7 @@