Explorar el Código

Site: update output filename (#837)

cinwell.li hace 8 años
padre
commit
fea6225770
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      build/cooking.demo.js

+ 2 - 0
build/cooking.demo.js

@@ -90,4 +90,6 @@ 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');
 module.exports = cooking.resolve();