forked from github/dataease
fix: 开发环境启动报错
This commit is contained in:
parent
ba549dc5b6
commit
a06b2feefd
@ -50,7 +50,7 @@ module.exports = {
|
|||||||
'@': resolve('src')
|
'@': resolve('src')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
output: {
|
output: process.env.NODE_ENV === 'development' ? {} : {
|
||||||
filename: `js/[name].[contenthash:8].${pkg.version}.js`,
|
filename: `js/[name].[contenthash:8].${pkg.version}.js`,
|
||||||
publicPath: '/',
|
publicPath: '/',
|
||||||
chunkFilename: `js/[name].[contenthash:8].${pkg.version}.js`
|
chunkFilename: `js/[name].[contenthash:8].${pkg.version}.js`
|
||||||
|
Loading…
Reference in New Issue
Block a user