feat: svg responses

This commit is contained in:
TresAbhi committed 2023-06-26 17:25:28 +00:00
1 parent aa0069a0a3
commit 8dd0ca9d10
7 files changed
+90 -54

No files matched your search

+17 -4
View File
@@ -27,7 +27,20 @@ const commonOptions = {
};
console.log('Building...');
build({
entryPoints: ['src/bot.ts'],
outfile: 'dist/bot.cjs',
});
if (buildBot) {
build({
...commonOptions,
entryPoints: ['src/bot.ts'],
outfile: 'dist/bot.cjs',
});
}
if (buildServer) {
build({
...commonOptions,
entryPoints: ['src/server.ts'],
outfile: 'dist/server.cjs',
});
}