fix(core): update

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

View File

@ -18,24 +18,24 @@
"devDependencies": { "devDependencies": {
"@git.zone/tsbuild": "^2.1.70", "@git.zone/tsbuild": "^2.1.70",
"@git.zone/tsrun": "^1.2.46", "@git.zone/tsrun": "^1.2.46",
"@git.zone/tstest": "^1.0.81", "@git.zone/tstest": "^1.0.84",
"@push.rocks/tapbundle": "^5.0.15", "@push.rocks/tapbundle": "^5.0.15",
"@types/node": "^20.8.2" "@types/node": "^20.10.7"
}, },
"dependencies": { "dependencies": {
"@push.rocks/early": "^4.0.4", "@push.rocks/early": "^4.0.4",
"@push.rocks/smartcli": "^4.0.8", "@push.rocks/smartcli": "^4.0.8",
"@push.rocks/smartdelay": "^3.0.5", "@push.rocks/smartdelay": "^3.0.5",
"@push.rocks/smartfile": "^10.0.32", "@push.rocks/smartfile": "^11.0.4",
"@push.rocks/smartlog": "^3.0.3", "@push.rocks/smartlog": "^3.0.3",
"@push.rocks/smartlog-destination-local": "^9.0.0", "@push.rocks/smartlog-destination-local": "^9.0.0",
"@push.rocks/smartpath": "^5.0.11", "@push.rocks/smartpath": "^5.0.11",
"@push.rocks/smartpromise": "^4.0.2", "@push.rocks/smartpromise": "^4.0.2",
"@push.rocks/smartspawn": "^3.0.2", "@push.rocks/smartspawn": "^3.0.2",
"@types/html-minifier": "^4.0.3", "@types/html-minifier": "^4.0.5",
"esbuild": "^0.19.4", "esbuild": "^0.19.11",
"html-minifier": "^4.0.0", "html-minifier": "^4.0.0",
"typescript": "5.2.2" "typescript": "5.3.3"
}, },
"files": [ "files": [
"ts/**/*", "ts/**/*",

1515
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

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

View File

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