Skip to content

Commit

Permalink
fix(build): without peer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
max-nextcloud committed Feb 5, 2025
1 parent 5254b4f commit b5408c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import packageJSON from './package.json' assert { type: 'json' }

const external = [
...Object.keys(packageJSON.dependencies),
...Object.keys(packageJSON.peerDependencies)
...Object.keys(packageJSON.peerDependencies ?? {})
]

const config = (input, output) => ({
Expand Down

0 comments on commit b5408c5

Please sign in to comment.