mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-06 19:31:15 -07:00
Add instructions for how to start react in prod and force react to prod mode (#24590)
This commit is contained in:
@@ -17,6 +17,9 @@ await esbuild.build({
|
||||
target: 'es2020',
|
||||
jsx: 'automatic',
|
||||
outfile: 'dist/client/main.js',
|
||||
define: {
|
||||
'process.env.NODE_ENV': '"production"',
|
||||
},
|
||||
});
|
||||
|
||||
// Embed client assets as string constants so the devtools server can be
|
||||
|
||||
Reference in New Issue
Block a user