Shannon_mu 3 年之前
父节点
当前提交
7ceb85908b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      operationSupport/vue.config.js

+ 2 - 2
operationSupport/vue.config.js

@@ -33,8 +33,8 @@ module.exports = {
                 viewportWidth: 1920,//传参
             })
         // 配置每次打包浏览器缓存文件名的随机性
-        // const filename = path.posix.join('js', `${new Date().getTime()}_[name].js`);
-        // config.mode('production').devtool(false).output.filename(filename).chunkFilename(filename)
+        const filename = path.posix.join('js', `${new Date().getTime()}_[name].js`);
+        config.mode('production').devtool(false).output.filename(filename).chunkFilename(filename)
     },
     // 配置全局样式变量
     css: {