fix(ts_bundle): Disable splitting and tree shaking in build configurations

This commit is contained in:
Juergen Kunz
2025-06-19 13:47:23 +00:00
parent e92758586f
commit c0f23deab8

View File

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