Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyhalight committed Nov 28, 2023
1 parent 102b428 commit ea34628
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'), [
{
Expand All @@ -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
}
Expand Down

0 comments on commit ea34628

Please sign in to comment.