From af0d8cd16a8292959ee47f875b6fda4c71dcf62f Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang
Date: Mon, 17 May 2021 16:54:02 +0800
Subject: [PATCH] Merge branch '20120518-daili' into dev

---
 webpack.common.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/webpack.common.js b/webpack.common.js
index 9a2d78d..9ae55b9 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -15,7 +15,7 @@
 let env = process.env.NODE_ENV;
 
 //打包地址
-let srcUrl = '/sib_wx_scoree/'
+let srcUrl = '/sib_wx_scoreg/'
 module.exports = {
     entry: {
         index: "./src/index.js",
@@ -23,7 +23,7 @@
     output: {
         filename: 'js/[name].js',
         path: path.resolve(__dirname, 'dist'),
-        publicPath: env ? '/sib_wx_scoree/' : '/' //根据线上项目路径更改 /projectpath
+        publicPath: env ? '/sib_wx_scoreg/' : '/' //根据线上项目路径更改 /projectpath
     },
     /**防止将某些 import 的包(package)打包到 bundle 中,而是在运行时(runtime)再去从外部获取这些扩展依赖,
      * 简而言之:就是使用cdn~不打包这些变量引用的文件,生成环境时需要在index.html中手动引入cdn
@@ -79,8 +79,8 @@
                     options: {
                         limit: 100000,
                         outputPath: 'img/',
-                        publicPath: `${srcUrl}img`
-                        //publicPath: `/img`
+                        // publicPath: `${srcUrl}img`
+                        publicPath: `/img`
                     }
                 }]
             },

--
Gitblit v1.8.0