chore(server): update switch prod in build command

This commit is contained in:
Mauricio Siu
2024-10-26 15:56:03 -06:00
parent 27c33c7661
commit 5417f6376b
5 changed files with 1 additions and 5 deletions

View File

@@ -19,7 +19,7 @@
}
},
"scripts": {
"build": "rm -rf ./dist && tsc --project tsconfig.server.json && tsc-alias -p tsconfig.server.json",
"build": "npm run switch:prod && rm -rf ./dist && tsc --project tsconfig.server.json && tsc-alias -p tsconfig.server.json",
"build:types": "tsc --emitDeclarationOnly --experimenta-dts",
"switch:dev": "node scripts/switchToSrc.js",
"switch:prod": "node scripts/switchToDist.js",