Compare commits
2 Commits
309d97d9c8
...
9506b238f2
Author | SHA1 | Date | |
---|---|---|---|
|
9506b238f2 | ||
|
a4ace6ca8f |
@ -54,7 +54,7 @@ module.exports = configure(function (/* ctx */) {
|
||||
build: {
|
||||
env: {
|
||||
// test:测试服务器;publish:正式服务器;其他本地
|
||||
ENV_MODE: process.env.NODE_ENV,
|
||||
ENV_MODE: process.env.URL_ENV,
|
||||
},
|
||||
target: {
|
||||
browser: ['es2020'],
|
||||
|
1
src/env.d.ts
vendored
1
src/env.d.ts
vendored
@ -5,5 +5,6 @@ declare namespace NodeJS {
|
||||
NODE_ENV: string;
|
||||
VUE_ROUTER_MODE: 'hash' | 'history' | 'abstract' | undefined;
|
||||
VUE_ROUTER_BASE: string | undefined;
|
||||
URL_ENV: string;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user