bunchee 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1 -1
- package/dist/lib.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -87,7 +87,7 @@ var logger = {
|
|
|
87
87
|
}
|
|
88
88
|
};
|
|
89
89
|
|
|
90
|
-
var version = "2.0.
|
|
90
|
+
var version = "2.0.1";
|
|
91
91
|
|
|
92
92
|
var helpMessage = '\nUsage: bunchee [options]\n\nOptions:\n -v, --version output the version number\n -w, --watch watch src files changes\n -m, --minify compress output. false by default\n -o, --output <file> specify output filename\n -f, --format <format> specify bundle type: "esm", "cjs", "umd". "esm" by default\n -e, --external <mod> specify an external dependency\n --target <target> js features target: swc target es versions. "es5" by default\n --runtime <runtime> build runtime: "nodejs", "browser". "browser" by default\n --sourcemap enable sourcemap generation, false by default\n --cwd <cwd> specify current working directory\n -h, --help output usage information\n';
|
|
93
93
|
function help() {
|
package/dist/lib.js
CHANGED
|
@@ -150,7 +150,7 @@ function createInputConfig(entry, pkg, options) {
|
|
|
150
150
|
typescript: resolveTypescript(),
|
|
151
151
|
jsx: "react",
|
|
152
152
|
module: "ES6",
|
|
153
|
-
target:
|
|
153
|
+
target: jscTarget,
|
|
154
154
|
noEmitOnError: !options.watch,
|
|
155
155
|
sourceMap: options.sourcemap,
|
|
156
156
|
declaration: !!typings,
|