From c0457bf3334ca6d7b2db01fa1d6739b48ed3535c Mon Sep 17 00:00:00 2001 From: zhaoxiaoqiang <l287285524@qq.com> Date: Sun, 07 Nov 2021 18:08:35 +0800 Subject: [PATCH] 升档加门店管理新增按钮 --- webpack.common.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.common.js b/webpack.common.js index 31ed229..e6617c1 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -14,7 +14,7 @@ const vuxLoader = require("vux-loader"); let env = process.env.NODE_ENV; //打包地址 -let srcUrl = "/sib_wx_scorer/"; +let srcUrl = "/sib_wx_scores/"; module.exports = { entry: { index: "./src/index.js", @@ -22,7 +22,7 @@ output: { filename: "js/[name].js", path: path.resolve(__dirname, "dist"), - publicPath: env ? "/sib_wx_scorer/" : "/", //根据线上项目路径更改 /projectpath + publicPath: env ? "/sib_wx_scores/" : "/", //根据线上项目路径更改 /projectpath }, /**防止将某些 import 的包(package)打包到 bundle 中,而是在运行时(runtime)再去从外部获取这些扩展依赖, * 简而言之:就是使用cdn~不打包这些变量引用的文件,生成环境时需要在index.html中手动引入cdn -- Gitblit v1.8.0