diff --git a/vue.config.js b/vue.config.js index 929d4d6..437968f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -29,6 +29,13 @@ const isDevMode = process.env.NODE_ENV === 'development' module.exports = { pages, filenameHashing: false, + configureWebpack: { + output: { + filename: `[name].js`, + chunkFilename: `[name].js` + }, + devtool: isDevMode ? 'inline-source-map' : false, + }, chainWebpack: (config) => { config.plugin('copy').use(require('copy-webpack-plugin'), [ { @@ -45,13 +52,6 @@ module.exports = { } ]) }, - configureWebpack: { - output: { - filename: `[name].js`, - chunkFilename: `[name].js` - }, - devtool: isDevMode ? 'inline-source-map' : false, - }, css: { extract: false // Make sure the css is the same }