feat(boards): 优化板卡打包方式以在板卡文件更新后防止命中用户本地缓存
This commit is contained in:
@@ -9,7 +9,7 @@ module.exports = {
|
||||
cache: false,
|
||||
entry: path.resolve(ORI_DIR, 'index.js'),
|
||||
output: {
|
||||
filename: "[name].bundle.js",
|
||||
filename: "[name].bundle.[contenthash:8].js",
|
||||
path: DEST_DIR,
|
||||
clean: true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user