Comparing version 1.4.7 to 1.4.8
@@ -663,3 +663,3 @@ #!/usr/bin/env node | ||
default: "React.Fragment" | ||
}).action(async (files, options) => { | ||
}).option("--inlineDynamicImports", "Create a single bundle that inlines dynamic imports").action(async (files, options) => { | ||
const {rollup, watch} = await Promise.resolve().then(function () { return _interopNamespace(require('rollup')); }); | ||
@@ -679,3 +679,4 @@ const {createRollupConfigs, printSizes} = await Promise.resolve().then(function () { return require('./index.js'); }); | ||
external: options.external, | ||
moduleName: options.moduleName | ||
moduleName: options.moduleName, | ||
inlineDynamicImports: options.inlineDynamicImports | ||
}); | ||
@@ -682,0 +683,0 @@ if (options.watch) { |
@@ -21,2 +21,3 @@ import { InputOptions, OutputOptions, ModuleFormat } from 'rollup'; | ||
external?: string[]; | ||
inlineDynamicImports?: boolean; | ||
}; | ||
@@ -23,0 +24,0 @@ declare function createRollupConfigs(files: string[], options: Options): Promise<{ |
{ | ||
"name": "tsup", | ||
"version": "1.4.7", | ||
"version": "1.4.8", | ||
"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
386820
11361