运行dev报错npx webpack-dev-server
解决方法
module.exports = {
output: {
filename: this.mode === 'production' ? 'js/[name].[contenthash:10].js' : 'js/[name].[hash:10].js',
},
}
Webpack(十八):Cannot use [chunkhash] or [contenthash] for chunk in ‘js/[name].[contenthash:10].js‘ (us
阅读 63
2022-07-14
npx webpack-dev-server
解决方法
module.exports = {
output: {
filename: this.mode === 'production' ? 'js/[name].[contenthash:10].js' : 'js/[name].[hash:10].js',
},
}
相关推荐
精彩评论(0)