aminnairi/rollup-plugin-external(新しいタブで開きます)
主要言語: TypeScript
Rollup plugin for automatically computing your external dependencies.
- star 数
- 1
- watcher 数
- 1
- fork 数
- 0
- issue 数
- 0
- 最終更新
- 2021/02/10
主要言語: TypeScript
Rollup plugin for automatically computing your external dependencies.
Rollup plugin for automatically computing your external dependencies.
$ npm install --save-dev @aminnairi/rollup-plugin-externalimport {external} from "@aminnairi/rollup-plugin-external"; export default { plugins: [ external() ] };
import {external, ExternalOptions} from "@aminnairi/rollup-plugin-external"; const externalOptions: ExternalOptions = { withBuiltinModules: false }; export default { plugins: [ external(externalOptions) ] }
Modules to exclude from the Rollup's external configuration (default to []).
external({ exclude: ["package", "to", "exclude"] });
Modules to include in the Rollup's external configuration (default to []).
external({ include: ["package", "to", "include"] });
Path to the module configuration (default to package.json).
external({ packageJsonPath: "./settings/package.production.json" });
Whether to include or not Node.js builtin modules in the Rollup's external configuration (default to true).
external({ withBuiltinModules: false });
Whether to include or not bundledDependencies in the Rollup's external configuration (default to true).
external({ withBundledDependencies: false });
Whether to include or not dependencies in the Rollup's external configuration (default to true).
external({ withDependencies: false });
Whether to include or not optionalDependencies in the Rollup's external configuration (default to true).
external({ withOptionalDependencies: false });
Whether to include or not peerDependencies in the Rollup's external configuration (default to true).
external({ withPeerDependencies: false });
See CHANGELOG.md
See CONTRIBUTING.md
See LICENSE