fix(ts_bundle): Disable splitting and tree shaking in build configurations
This commit is contained in:
		| @@ -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(), | ||||
|     }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user