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(), });