We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fb64f1 commit 1cbf505Copy full SHA for 1cbf505
code/builders/builder-webpack5/src/preview/iframe-webpack.config.ts
@@ -178,7 +178,7 @@ export default async (
178
},
179
}),
180
new DefinePlugin({
181
- 'process.env': JSON.stringify(envs),
+ 'process.env': `(${JSON.stringify(envs)})`,
182
...stringifyProcessEnvs(envs),
183
NODE_ENV: JSON.stringify(
184
features?.developmentModeForBuild && isProd ? 'development' : process.env.NODE_ENV
0 commit comments