Comparing version 1.4.12 to 1.4.13
@@ -661,3 +661,3 @@ #!/usr/bin/env node | ||
default: "es2017" | ||
}).option("--bundle", "Bundle node_modules").option("--dts", "Generate declaration file").option("--watch", "Watch mode").option("--define.* <value>", "Define compile-time constants").option("--external <name>", "Mark specific packages as external (use with --bundle)").option("--module-name <name>", "Module name (with with --format umd)").option("--jsxFactory <jsxFactory>", "Name of JSX factory function", { | ||
}).option("--bundle", "Bundle node_modules").option("--dts", "Generate declaration file").option("--dts-bundle", "Bundle types from node_modules").option("--watch", "Watch mode").option("--define.* <value>", "Define compile-time constants").option("--external <name>", "Mark specific packages as external (use with --bundle)").option("--module-name <name>", "Module name (with with --format umd)").option("--jsxFactory <jsxFactory>", "Name of JSX factory function", { | ||
default: "React.createElement" | ||
@@ -669,17 +669,3 @@ }).option("--jsxFragment <jsxFragment>", "Name of JSX fragment function", { | ||
const {createRollupConfigs, printSizes} = await Promise.resolve().then(function () { return require('./index.js'); }); | ||
const rollupConfigs = await createRollupConfigs(files, { | ||
watch: options.watch, | ||
minify: options.minify, | ||
jsxFragment: options.jsxFragment, | ||
jsxFactory: options.jsxFactory, | ||
format: options.format, | ||
target: options.target, | ||
dts: options.dts, | ||
bundle: options.bundle, | ||
outDir: options.outDir, | ||
define: options.define, | ||
external: options.external, | ||
moduleName: options.moduleName, | ||
inlineDynamicImports: options.inlineDynamicImports | ||
}); | ||
const rollupConfigs = await createRollupConfigs(files, options); | ||
if (options.watch) { | ||
@@ -686,0 +672,0 @@ const watcher = watch(rollupConfigs.map((config) => __assign(__assign({}, config.inputConfig), { |
@@ -8,2 +8,3 @@ import { InputOptions, OutputOptions, ModuleFormat } from 'rollup'; | ||
dts?: boolean; | ||
dtsBundle?: boolean; | ||
target?: Target; | ||
@@ -10,0 +11,0 @@ watch?: boolean; |
{ | ||
"name": "tsup", | ||
"version": "1.4.12", | ||
"version": "1.4.13", | ||
"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
335581
10018