Commit 1f6e67a7 authored by 郝聪敏's avatar 郝聪敏

fix: 测试环境打包优化

parent f7c36585
NODE_ENV=devtest
NODE_ENV=production
VUE_APP_ENVIRONMENT=devtest
\ No newline at end of file
import prod from "./prod.config";
import dev from "./dev.config";
export default process.env.NODE_ENV === "production" ? prod : dev;
export default process.env.VUE_APP_ENVIRONMENT === "production" ? prod : dev;
......@@ -58,7 +58,7 @@ window.addEventListener(
false
);
if (process.env.NODE_ENV !== "production") {
if (process.env.VUE_APP_ENVIRONMENT !== "production") {
// ! 上线后务必取掉
new vConsole();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment