fix(server/esbuild): node_modules not copied

This commit is contained in:
Elian Doran 2025-05-22 16:54:19 +03:00
parent f13ec55082
commit dac801b369
No known key found for this signature in database
2 changed files with 17 additions and 1 deletions

View File

@ -4,3 +4,4 @@ _regroup_monorepo
# Asset copying respects .gitignore / .nxignore for some reason. # Asset copying respects .gitignore / .nxignore for some reason.
# See https://github.com/nrwl/nx/issues/20309 # See https://github.com/nrwl/nx/issues/20309
!dist !dist
!node_modules

View File

@ -216,6 +216,21 @@
"glob": "**/*", "glob": "**/*",
"input": "apps/client/dist", "input": "apps/client/dist",
"output": "public" "output": "public"
},
{
"glob": "**/*",
"input": "apps/server/node_modules/better-sqlite3",
"output": "node_modules/better-sqlite3"
},
{
"glob": "**/*",
"input": "apps/server/node_modules/bindings",
"output": "node_modules/bindings"
},
{
"glob": "**/*",
"input": "apps/server/node_modules/file-uri-to-path",
"output": "node_modules/file-uri-to-path"
} }
] ]
} }