968Clean Vue Distribution Files
Removing the timestamp from css and js distribution files.
File: vue.config.js
module.exports = {
publicPath: '',
chainWebpack: config => {
if(config.plugins.has('extract-css')) {
const extractCSSPlugin = config.plugin('extract-css')
extractCSSPlugin && extractCSSPlugin.tap(() => [{
filename: 'css/[name].css',
chunkFilename: 'css/[name].css'
}])
}
},
configureWebpack: {
output: {
filename: 'js/[name].js',
chunkFilename: 'js/[name].js'
}
}
}