fix(core): update

This commit is contained in:
2024-01-08 16:24:52 +01:00
parent 25851c2b64
commit 335cc19211
4 changed files with 786 additions and 754 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/tsbundle',
version: '2.0.10',
version: '2.0.11',
description: 'a bundler using rollup for painless bundling of web projects'
}

View File

@ -24,7 +24,8 @@ export class TsBundleProcess {
sourcemap: true,
format: 'esm',
target: 'es2022',
outfile: toArg,
entryNames: 'bundle',
outdir: plugins.path.parse(toArg).dir,
tsconfig: paths.tsconfigPath
});
}
@ -48,8 +49,12 @@ export class TsBundleProcess {
format: 'esm',
target: 'es2022',
minify: true,
outfile: toArg,
tsconfig: paths.tsconfigPath
// outfile: toArg,
entryNames: 'bundle',
outdir: plugins.path.parse(toArg).dir,
tsconfig: paths.tsconfigPath,
splitting: true,
chunkNames: 'chunks/[name]-[hash]',
});
}
}