From c0f23deab829bbd06bc3d7c76e8905dd5604fe82 Mon Sep 17 00:00:00 2001 From: Juergen Kunz Date: Thu, 19 Jun 2025 13:47:23 +0000 Subject: [PATCH] fix(ts_bundle): Disable splitting and tree shaking in build configurations --- ts/mod_esbuild/index.child.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ts/mod_esbuild/index.child.ts b/ts/mod_esbuild/index.child.ts index ae4fb0d..1aeb103 100644 --- a/ts/mod_esbuild/index.child.ts +++ b/ts/mod_esbuild/index.child.ts @@ -39,7 +39,8 @@ export class TsBundleProcess { target: 'es2022', entryNames: plugins.path.parse(toArg).name, outdir: plugins.path.parse(toArg).dir, - // splitting: true, + splitting: false, + treeShaking: false, tsconfig: paths.tsconfigPath, alias: await this.getAliases(), }); @@ -63,7 +64,8 @@ export class TsBundleProcess { entryNames: 'bundle', outdir: plugins.path.parse(toArg).dir, tsconfig: paths.tsconfigPath, - // splitting: true, + splitting: false, + treeShaking: false, chunkNames: 'chunks/[name]-[hash]', alias: await this.getAliases(), });