fix(web): default react builds to production when NODE_ENV is not provided (#7727)
ISSUES CLOSED: #7410
This commit is contained in:
parent
3d54a7961a
commit
6e801a1e9b
@ -127,6 +127,9 @@ export async function* run(
|
||||
`Node version ${nodeVersion} is not supported. Supported range is "${supportedRange.raw}".`
|
||||
);
|
||||
}
|
||||
|
||||
process.env.NODE_ENV ||= 'production';
|
||||
|
||||
const metadata = context.workspace.projects[context.projectName];
|
||||
|
||||
if (!options.buildLibsFromSource && context.targetName) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user