diff --git a/packages/fes-builder-vite/src/common/getDefine.js b/packages/fes-builder-vite/src/common/getDefine.js index 6ba4c391..4feb2122 100644 --- a/packages/fes-builder-vite/src/common/getDefine.js +++ b/packages/fes-builder-vite/src/common/getDefine.js @@ -12,7 +12,7 @@ export default (api, publicPath) => { acc[`process.env.${cur}`] = JSON.stringify(env[cur]); return acc; }, {}); - console.log(formatEnv); + return { ...formatEnv, ...define,