Skip to content

Commit 09d37be

Browse files
committed
fix: backend build script
1 parent 2556fed commit 09d37be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"license": "MIT",
99
"scripts": {
1010
"build": "nest build",
11-
"postbuild": "yes | pnpm install --prod && cp -rL node_modules dist/node_modules",
11+
"postbuild": "pnpm install --prod --filter . --modules-dir dist/node_modules_temp && cp -rL dist/node_modules_temp dist/node_modules && rm -rf dist/node_modules_temp",
1212
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
1313
"start": "nest start",
1414
"dev": "nest start --watch --preserveWatchOutput",

0 commit comments

Comments
 (0)