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 eb1fcee commit 0baad85Copy full SHA for 0baad85
code/builders/builder-webpack5/src/preview/iframe-webpack.config.ts
@@ -194,7 +194,7 @@ export default async (
194
},
195
}),
196
new DefinePlugin({
197
- 'process.env': JSON.stringify(envs),
+ 'process.env': `(${JSON.stringify(envs)})`,
198
...stringifyProcessEnvs(envs),
199
NODE_ENV: JSON.stringify(
200
features?.developmentModeForBuild && isProd ? 'development' : process.env.NODE_ENV
0 commit comments