fix: attempt to fix jsx-runtime error in prod

This commit is contained in:
LynithDev 2025-07-24 12:33:24 +02:00
parent 6c7c07bce6
commit 1c300c01b6
2 changed files with 1 additions and 2 deletions

View file

@ -17,7 +17,6 @@
"scripts": {
"tauri": "pnpm tsx tauri.ts",
"prep": "pnpm tsx prepare.ts",
"prepare": "pnpm tsx prepare.ts",
"setup-win": "./setup.ps1",
"setup-nix": "./setup.sh",
"autoformat": "./format.sh",

View file

@ -80,7 +80,7 @@ catch (error) {
}
consola.start('building the web_commons package...');
exec('pnpm -w web_common build', { cwd: env.__root }, (error, stdout, stderr) => {
exec('NODE_ENV=production pnpm -w web_common build', { cwd: env.__root }, (error, stdout, stderr) => {
if (error) {
consola.error(`web_commons build failed: ${error.message}`);
env.__exit(1);