build: preserve class & function in client script, disable terser for server script

This commit is contained in:
jean-emmanuel 2025-09-10 12:31:21 +02:00
parent 788f86f83e
commit 282adab337
2 changed files with 2 additions and 6 deletions

View file

@ -55,6 +55,8 @@ module.exports = {
terser({
safari10: true,
sourceMap: true,
keep_classnames: true,
keep_fnames: true,
output: {
comments: false,
},

View file

@ -33,12 +33,6 @@ module.exports = {
nodeResolve({
preferBuiltins: true
}),
terser({
sourceMap: true,
output: {
comments: false,
},
}),
license({
banner: {
content: {