Skip to content

Commit 50bfea1

Browse files
max-nextcloudsusnux
authored andcommitted
fix(build): without peer dependencies
Signed-off-by: Max <max@nextcloud.com>
1 parent a4bf625 commit 50bfea1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import packageJSON from './package.json' assert { type: 'json' }
1010

1111
const external = [
1212
...Object.keys(packageJSON.dependencies),
13-
...Object.keys(packageJSON.peerDependencies)
13+
...Object.keys(packageJSON.peerDependencies ?? {})
1414
]
1515

1616
const config = (input, output) => ({

0 commit comments

Comments
 (0)