feat: define 添加 FES_ENV

This commit is contained in:
万纯 2021-03-03 15:27:13 +08:00
parent 0a8381bec6
commit 2e858091d4

View File

@ -1,6 +1,6 @@
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) {
const env = {};