Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
f4071f0b64 | |||
335cc19211 | |||
25851c2b64 | |||
73a6ce2786 |
17
package.json
17
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@git.zone/tsbundle",
|
||||
"version": "2.0.9",
|
||||
"version": "2.0.11",
|
||||
"private": false,
|
||||
"description": "a bundler using rollup for painless bundling of web projects",
|
||||
"main": "dist_ts/index.js",
|
||||
@ -16,25 +16,26 @@
|
||||
"tsbundle": "cli.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@git.zone/tsbuild": "^2.1.69",
|
||||
"@git.zone/tsbuild": "^2.1.70",
|
||||
"@git.zone/tsrun": "^1.2.46",
|
||||
"@git.zone/tstest": "^1.0.74",
|
||||
"@git.zone/tstest": "^1.0.84",
|
||||
"@push.rocks/tapbundle": "^5.0.15",
|
||||
"@types/node": "^20.5.6"
|
||||
"@types/node": "^20.10.7"
|
||||
},
|
||||
"dependencies": {
|
||||
"@push.rocks/early": "^4.0.4",
|
||||
"@push.rocks/smartcli": "^4.0.8",
|
||||
"@push.rocks/smartfile": "^10.0.30",
|
||||
"@push.rocks/smartdelay": "^3.0.5",
|
||||
"@push.rocks/smartfile": "^11.0.4",
|
||||
"@push.rocks/smartlog": "^3.0.3",
|
||||
"@push.rocks/smartlog-destination-local": "^9.0.0",
|
||||
"@push.rocks/smartpath": "^5.0.11",
|
||||
"@push.rocks/smartpromise": "^4.0.2",
|
||||
"@push.rocks/smartspawn": "^3.0.2",
|
||||
"@types/html-minifier": "^4.0.2",
|
||||
"esbuild": "^0.19.2",
|
||||
"@types/html-minifier": "^4.0.5",
|
||||
"esbuild": "^0.19.11",
|
||||
"html-minifier": "^4.0.0",
|
||||
"typescript": "5.1.6"
|
||||
"typescript": "5.3.3"
|
||||
},
|
||||
"files": [
|
||||
"ts/**/*",
|
||||
|
2605
pnpm-lock.yaml
generated
2605
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,9 @@
|
||||
import * as smartdelay from '@push.rocks/smartdelay';
|
||||
|
||||
const myConst: string = 'hello';
|
||||
|
||||
await smartdelay.delayFor(1000);
|
||||
|
||||
function sealed(constructor: Function) {
|
||||
Object.seal(constructor);
|
||||
Object.seal(constructor.prototype);
|
||||
@ -15,4 +19,6 @@ class BugReport {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
console.log(myConst);
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@git.zone/tsbundle',
|
||||
version: '2.0.9',
|
||||
version: '2.0.11',
|
||||
description: 'a bundler using rollup for painless bundling of web projects'
|
||||
}
|
||||
|
@ -23,8 +23,9 @@ export class TsBundleProcess {
|
||||
bundle: true,
|
||||
sourcemap: true,
|
||||
format: 'esm',
|
||||
target: 'es2020',
|
||||
outfile: toArg,
|
||||
target: 'es2022',
|
||||
entryNames: 'bundle',
|
||||
outdir: plugins.path.parse(toArg).dir,
|
||||
tsconfig: paths.tsconfigPath
|
||||
});
|
||||
}
|
||||
@ -46,10 +47,14 @@ export class TsBundleProcess {
|
||||
bundle: true,
|
||||
sourcemap: true,
|
||||
format: 'esm',
|
||||
target: 'es2020',
|
||||
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