Comparing version 2.1.7 to 2.2.0
@@ -30,3 +30,3 @@ #!/usr/bin/env node | ||
var version = "2.1.7"; | ||
var version = "2.2.0"; | ||
@@ -33,0 +33,0 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { |
@@ -239,2 +239,3 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
var useTypescript = options.useTypescript, runtime = options.runtime, jscTarget = options.target, minify = options.minify; | ||
var hasSpecifiedTsTarget = Boolean((tsCompilerOptions == null ? void 0 : tsCompilerOptions.target) && tsConfigPath); | ||
var _obj; | ||
@@ -256,3 +257,3 @@ var plugins = (dtsOnly ? [ | ||
incremental: false, | ||
jsx: (tsCompilerOptions == null ? void 0 : tsCompilerOptions.jsx) || "react" | ||
jsx: tsCompilerOptions.jsx || "react" | ||
}) | ||
@@ -280,4 +281,5 @@ }) | ||
tsconfig: tsConfigPath, | ||
jsc: _extends$1({ | ||
target: jscTarget, | ||
jsc: _extends$1({}, !hasSpecifiedTsTarget && { | ||
target: jscTarget | ||
}, { | ||
loose: true, | ||
@@ -284,0 +286,0 @@ externalHelpers: false, |
{ | ||
"name": "bunchee", | ||
"version": "2.1.7", | ||
"version": "2.2.0", | ||
"description": "zero config bundler for js/ts/jsx libraries", | ||
@@ -5,0 +5,0 @@ "bin": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47879
1157