Browse Source

fix chunkhash error

baiyaaaaa 8 năm trước cách đây
mục cha
commit
4b10284478
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      build/cooking.demo.js

+ 1 - 1
build/cooking.demo.js

@@ -91,5 +91,5 @@ if (process.env.NODE_ENV === 'production') {
 
 cooking.add('vue.preserveWhitespace', false);
 cooking.add('output.chunkFilename', 'element.[id].[chunkhash:7].js');
-cooking.add('output.filename', 'element.[name].[chunkhash:7].js');
+cooking.add('output.filename', 'element.[name].[hash:7].js');
 module.exports = cooking.resolve();