Răsfoiți Sursa

fix chunkhash error

baiyaaaaa 8 ani în urmă
părinte
comite
4b10284478
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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();