fix(bots/discord): deployment runtime errors due to minification

This commit is contained in:
PalmDevs
2024-07-31 01:40:30 +07:00
parent 95a122a225
commit a60c60c0f9
4 changed files with 20 additions and 2 deletions

View File

@@ -12,7 +12,11 @@ await Bun.build({
outdir: './dist/src',
target: 'bun',
external: ['./config.js'],
minify: true,
minify: {
syntax: true,
whitespace: true,
identifiers: false,
},
sourcemap: 'external',
})