bunchee
Advanced tools
Comparing version 5.1.2 to 5.1.3
@@ -318,3 +318,3 @@ #!/usr/bin/env node | ||
moduleExportPath, | ||
'import' | ||
'module' | ||
], | ||
@@ -478,3 +478,3 @@ Boolean(typesEntryPath) && [ | ||
var version = "5.1.2"; | ||
var version = "5.1.3"; | ||
@@ -871,3 +871,2 @@ function relativify(path) { | ||
--sourcemap enable sourcemap generation, default: false | ||
--dts determine if need to generate types, default: undefined | ||
--no-dts do not generate types, default: undefined | ||
@@ -890,3 +889,2 @@ --tsconfig path to tsconfig file, default: tsconfig.json | ||
'--cwd': String, | ||
'--dts': Boolean, | ||
'--no-dts': Boolean, | ||
@@ -927,3 +925,3 @@ '--output': String, | ||
cwd: args['--cwd'], | ||
dts: args['--no-dts'] ? false : args['--dts'], | ||
dts: args['--no-dts'] ? false : undefined, | ||
help: args['--help'], | ||
@@ -947,3 +945,3 @@ version: args['--version'], | ||
const bundleConfig = { | ||
dts: typeof dts === 'boolean' ? dts : undefined, | ||
dts, | ||
file, | ||
@@ -950,0 +948,0 @@ format, |
{ | ||
"name": "bunchee", | ||
"version": "5.1.2", | ||
"version": "5.1.3", | ||
"description": "zero config bundler for js/ts/jsx libraries", | ||
@@ -45,11 +45,11 @@ "bin": "./dist/bin/cli.js", | ||
"@rollup/pluginutils": "^5.1.0", | ||
"@swc/core": "^1.4.8", | ||
"@swc/helpers": "^0.5.6", | ||
"@swc/core": "^1.5.0", | ||
"@swc/helpers": "^0.5.11", | ||
"arg": "^5.0.2", | ||
"clean-css": "^5.3.3", | ||
"magic-string": "^0.30.8", | ||
"magic-string": "^0.30.10", | ||
"pretty-bytes": "^5.6.0", | ||
"rollup": "^4.13.0", | ||
"rollup": "^4.16.4", | ||
"rollup-plugin-dts": "^6.1.0", | ||
"rollup-plugin-swc3": "^0.11.0", | ||
"rollup-plugin-swc3": "^0.11.1", | ||
"rollup-preserve-directives": "^1.1.1", | ||
@@ -56,0 +56,0 @@ "tslib": "^2.6.2" |
@@ -165,3 +165,3 @@ # bunchee | ||
"scripts": { | ||
"build": "bunchee" | ||
"build": "bunchee" | ||
}, | ||
@@ -173,3 +173,3 @@ "exports": { | ||
"require": "./dist/index.cjs" | ||
} | ||
} | ||
} | ||
@@ -327,3 +327,2 @@ } | ||
- Working Directory (`--cwd <cwd>`): Set current working directory where containing `package.json`. | ||
- Types (`--dts`): Generate TypeScript declaration files along with assets. | ||
- Minify (`-m`): Compress output. | ||
@@ -330,0 +329,0 @@ - Watch (`-w`): Watch for source file changes. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
208172
4725
480
Updated@swc/core@^1.5.0
Updated@swc/helpers@^0.5.11
Updatedmagic-string@^0.30.10
Updatedrollup@^4.16.4
Updatedrollup-plugin-swc3@^0.11.1