Explorar o código

Site: update output filename (#837)

cinwell.li %!s(int64=8) %!d(string=hai) anos
pai
achega
fea6225770
Modificáronse 1 ficheiros con 2 adicións e 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();