Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
827f23107c | |||
ad917bf2ad | |||
306a018efd | |||
a7935958b7 | |||
8818ca9370 | |||
85b1988383 | |||
10cbf125a9 | |||
d229e0ca37 |
1408
package-lock.json
generated
1408
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
26
package.json
26
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@gitzone/tsbundle",
|
||||
"version": "1.0.84",
|
||||
"version": "1.0.88",
|
||||
"private": false,
|
||||
"description": "a bundler using rollup for painless bundling of web projects",
|
||||
"main": "dist_ts/index.js",
|
||||
@ -15,20 +15,20 @@
|
||||
"tsbundle": "cli.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@gitzone/tsbuild": "^2.1.25",
|
||||
"@gitzone/tsbuild": "^2.1.26",
|
||||
"@gitzone/tsrun": "^1.2.17",
|
||||
"@gitzone/tstest": "^1.0.54",
|
||||
"@gitzone/tstest": "^1.0.57",
|
||||
"@pushrocks/tapbundle": "^3.2.14",
|
||||
"tslint": "^6.1.3",
|
||||
"tslint-config-prettier": "^1.15.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.14.8",
|
||||
"@babel/core": "^7.15.0",
|
||||
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
||||
"@babel/plugin-proposal-decorators": "^7.14.5",
|
||||
"@babel/plugin-transform-runtime": "^7.14.5",
|
||||
"@babel/preset-env": "^7.14.8",
|
||||
"@babel/runtime": "^7.14.8",
|
||||
"@babel/plugin-transform-runtime": "^7.15.0",
|
||||
"@babel/preset-env": "^7.15.0",
|
||||
"@babel/runtime": "^7.15.3",
|
||||
"@pushrocks/early": "^3.0.6",
|
||||
"@pushrocks/smartcli": "^3.0.14",
|
||||
"@pushrocks/smartfile": "^8.0.10",
|
||||
@ -37,18 +37,18 @@
|
||||
"@pushrocks/smartparcel": "^1.0.9",
|
||||
"@pushrocks/smartpromise": "^3.1.6",
|
||||
"@pushrocks/smartspawn": "^2.0.9",
|
||||
"@rollup/plugin-commonjs": "^19.0.1",
|
||||
"@rollup/plugin-commonjs": "^20.0.0",
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"@rollup/plugin-node-resolve": "^13.0.2",
|
||||
"@rollup/plugin-typescript": "^8.2.3",
|
||||
"@rollup/plugin-node-resolve": "^13.0.4",
|
||||
"@rollup/plugin-typescript": "^8.2.5",
|
||||
"@types/html-minifier": "^4.0.1",
|
||||
"@types/node": "^16.4.0",
|
||||
"@types/node": "^16.7.4",
|
||||
"html-minifier": "^4.0.0",
|
||||
"rollup": "^2.53.3",
|
||||
"rollup": "^2.56.3",
|
||||
"rollup-plugin-babel": "^4.4.0",
|
||||
"rollup-plugin-sourcemaps": "^0.6.3",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"typescript": "^4.3.5"
|
||||
"typescript": "^4.4.2"
|
||||
},
|
||||
"files": [
|
||||
"ts/**/*",
|
||||
|
@ -40,6 +40,7 @@ export class TsBundleProcess {
|
||||
noImplicitAny: false,
|
||||
target: 'es2018',
|
||||
allowSyntheticDefaultImports: true,
|
||||
importsNotUsedAsValues: 'preserve',
|
||||
}),
|
||||
plugins.rollupJson(),
|
||||
// Allow node_modules resolution, so you can use 'external' to control
|
||||
@ -115,7 +116,7 @@ export class TsBundleProcess {
|
||||
bundle.generate(buildOptions.output as plugins.rollup.OutputOptions);
|
||||
await bundle.write(buildOptions.output as plugins.rollup.OutputOptions);
|
||||
logger.log('ok', `Successfully bundled files!`);
|
||||
break;
|
||||
process.exit(0);
|
||||
case 'parcel':
|
||||
const parsedPath = plugins.path.parse(toArg);
|
||||
const parcelInstance = new plugins.smartparcel.Parcel(fromArg, parsedPath.dir, parsedPath.base);
|
||||
@ -134,6 +135,7 @@ export class TsBundleProcess {
|
||||
bundle.generate(buildOptions.output as plugins.rollup.OutputOptions);
|
||||
await bundle.write(buildOptions.output as plugins.rollup.OutputOptions);
|
||||
logger.log('ok', `Successfully bundled files!`);
|
||||
process.exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user