Comparing version 4.0.1 to 4.1.0
@@ -27,3 +27,3 @@ #!/usr/bin/env node | ||
default: "es2017" | ||
}).option("--babel", "Transform the result with Babel").option("--legacy-output", "Output different formats to different folder instead of using different extensions").option("--dts [type]", "Generate declaration file").option("--sourcemap", "Generate sourcemap file").option("--watch", "Watch mode").option("--env.* <value>", "Define compile-time env variables").option("--define.* <value>", "Define compile-time constants").option("--external <name>", "Mark specific packages as external").option("--global-name <name>", "Global variable name for iife format").option("--jsxFactory <jsxFactory>", "Name of JSX factory function", { | ||
}).option("--babel", "Transform the result with Babel").option("--legacy-output", "Output different formats to different folder instead of using different extensions").option("--dts [entry]", "Generate declaration file").option("--dts-resolve", "Resolve externals types used for d.ts files").option("--sourcemap", "Generate sourcemap file").option("--watch", "Watch mode").option("--env.* <value>", "Define compile-time env variables").option("--define.* <value>", "Define compile-time constants").option("--external <name>", "Mark specific packages as external").option("--global-name <name>", "Global variable name for iife format").option("--jsxFactory <jsxFactory>", "Name of JSX factory function", { | ||
default: "React.createElement" | ||
@@ -30,0 +30,0 @@ }).option("--jsxFragment <jsxFragment>", "Name of JSX fragment function", { |
@@ -31,3 +31,5 @@ import { BuildResult } from 'esbuild'; | ||
}; | ||
dts?: boolean | 'bundle'; | ||
dts?: boolean | string; | ||
/** Resolve external types used in dts files from node_modules */ | ||
dtsResolve?: boolean; | ||
sourcemap?: boolean; | ||
@@ -34,0 +36,0 @@ /** Don't bundle these packages */ |
{ | ||
"name": "tsup", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "bin": "dist/cli.js", |
Sorry, the diff of this file is too big to display
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
637739
17781