Add instructions for how to start react in prod and force react to prod mode (#24590)

This commit is contained in:
Jacob Richman
2026-04-02 21:42:32 -07:00
committed by GitHub
parent 8c215c7a88
commit 7de3e4dcf9
5 changed files with 22 additions and 0 deletions
+3
View File
@@ -48,6 +48,9 @@ async function main() {
},
define: {
'import.meta.url': 'import_meta.url',
'process.env.NODE_ENV': JSON.stringify(
production ? 'production' : 'development',
),
},
alias: {
punycode: 'punycode/',