fix(core): update
This commit is contained in:
@ -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'
|
||||
}
|
||||
|
@ -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]',
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user