Gem 一覧へ戻る
Automatically externalize dependencies and peerDependencies in a bundle.
- star 数
- 11
- watcher 数
- 1
- fork 数
- 3
- issue 数
- 3
- 最終更新
- 2026/05/09
Automatically externalize dependencies and peerDependencies in a bundle.
Automatically externalize dependencies and peerDependencies in a bundle.
npm install --save-dev rollup-plugin-exclude-dependencies-from-bundle
// Add to plugins in rollup.config.js import excludeDependenciesFromBundle from "rollup-plugin-exclude-dependencies-from-bundle"; export default { plugins: [excludeDependenciesFromBundle(/*{ plugin options }*/)] };
peerDependencies: true
Set to true for excluding peer dependencies from the bundled files.
dependencies: true
Set to true for excluding dependencies from the bundled files.