Skip to content

Commit b5408c5

Browse files
committed
fix(build): without peer dependencies
1 parent 5254b4f commit b5408c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)