Skip to content

Commit

Permalink
Include optionalDependencies as rollup externals
Browse files Browse the repository at this point in the history
  • Loading branch information
timfish committed Mar 6, 2024
1 parent 32ff828 commit 1e9ea30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev-packages/rollup-utils/npmHelpers.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export function makeBaseNPMConfig(options = {}) {
...builtinModules,
...Object.keys(packageDotJSON.dependencies || {}),
...Object.keys(packageDotJSON.peerDependencies || {}),
...Object.keys(packageDotJSON.optionalDependencies || {}),
],
};

Expand Down

0 comments on commit 1e9ea30

Please sign in to comment.