mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
fix(api): 🐛 Fix failing build
The node_modules directory didn't exist, so cp threw an error
This commit is contained in:
parent
b086e65404
commit
11ba1ab5c8
2
build.ts
2
build.ts
|
|
@ -45,6 +45,8 @@ await $`cp -r drizzle dist/drizzle`;
|
|||
// Copy plugin manifests
|
||||
await $`cp plugins/openid/manifest.json dist/plugins/openid/manifest.json`;
|
||||
|
||||
await $`mkdir -p dist/node_modules`;
|
||||
|
||||
// Copy unzipit and uzip-module to dist
|
||||
await $`cp -r node_modules/unzipit dist/node_modules/unzipit`;
|
||||
await $`cp -r node_modules/uzip-module dist/node_modules/uzip-module`;
|
||||
|
|
|
|||
Loading…
Reference in a new issue