fix(devtools): unexpected token '.'
This commit is contained in:
parent
b1313763e3
commit
45e756c558
@ -27,7 +27,7 @@ function getUmiConfig() {
|
|||||||
define: {
|
define: {
|
||||||
'process.env.API_BASE_URL': API_BASE_URL || API_BASE_PATH,
|
'process.env.API_BASE_URL': API_BASE_URL || API_BASE_PATH,
|
||||||
'process.env.APP_ENV': process.env.APP_ENV,
|
'process.env.APP_ENV': process.env.APP_ENV,
|
||||||
'process.env.VERSION': packageJson?.version,
|
'process.env.VERSION': packageJson.version,
|
||||||
},
|
},
|
||||||
// only proxy when using `umi dev`
|
// only proxy when using `umi dev`
|
||||||
// if the assets are built, will not proxy
|
// if the assets are built, will not proxy
|
||||||
|
Loading…
Reference in New Issue
Block a user