Sfoglia il codice sorgente

fix chunkhash error

baiyaaaaa 8 anni fa
parent
commit
4b10284478
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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();