fix: attempt to fix jsx-runtime error in prod
This commit is contained in:
parent
6c7c07bce6
commit
1c300c01b6
2 changed files with 1 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue