mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
Update build.ts
This commit is contained in:
1 parent
9a6b8ab979
commit
b15e73e3a8
1 file changed
-5
@@ -46,8 +46,3 @@ readdir('node_modules/prisma').then((files) =>
|
|||||||
.filter((file) => file.endsWith('.node'))
|
.filter((file) => file.endsWith('.node'))
|
||||||
.map((file) => cp(`node_modules/prisma/${file}`, `dist/bot/${file}`)),
|
.map((file) => cp(`node_modules/prisma/${file}`, `dist/bot/${file}`)),
|
||||||
);
|
);
|
||||||
|
|
||||||
// copy sharp as is
|
|
||||||
if (!isDev) {
|
|
||||||
cp('node_modules/sharp', 'dist/bot/node_modules/sharp', { recursive: true });
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user