From 8d3b5cf91d31ac953cf3fb57bd8136195190fa27 Mon Sep 17 00:00:00 2001 From: eeer <17633066053@163.com> Date: Mon, 20 Dec 2021 06:31:08 +0000 Subject: [PATCH] =?UTF-8?q?update=20manager/vue.config.js.=20=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E5=8F=96=E6=B6=88cdn=E5=8A=A0=E8=BD=BD=20=E7=9B=AE?= =?UTF-8?q?=E5=89=8Dcdn=E9=93=BE=E6=8E=A5=E7=9A=84https=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E6=8C=82=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/vue.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manager/vue.config.js b/manager/vue.config.js index c7dabf1b..74a056a3 100644 --- a/manager/vue.config.js +++ b/manager/vue.config.js @@ -10,7 +10,8 @@ const resolve = dir => { * 将开发环境中替换为本地的内容,方便处理bug以及开启vueDev * 我们可以根据环境变量进行相应的处理,只有在产品的时候,才让插件去自动注入相应的资源文件到html页面 */ -const enableProduction = process.env.NODE_ENV === "production"; // 是否生产环境 +// const enableProduction = process.env.NODE_ENV === "production"; // 是否生产环境 +const enableProduction = false // 统一取消cdn加载 目前cdn链接的https请求挂了 let externals = { vue: "Vue",