mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
feat: define 添加 FES_ENV
This commit is contained in:
parent
0a8381bec6
commit
2e858091d4
@ -1,6 +1,6 @@
|
|||||||
const prefixRE = /^FES_APP_/;
|
const prefixRE = /^FES_APP_/;
|
||||||
|
|
||||||
const ENV_SHOULD_PASS = ['NODE_ENV', 'HMR', 'SOCKET_SERVER', 'ERROR_OVERLAY'];
|
const ENV_SHOULD_PASS = ['NODE_ENV', 'FES_ENV', 'HMR', 'SOCKET_SERVER', 'ERROR_OVERLAY'];
|
||||||
|
|
||||||
export default function resolveDefine(opts = {}, raw) {
|
export default function resolveDefine(opts = {}, raw) {
|
||||||
const env = {};
|
const env = {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user