Skip to content

Commit

Permalink
Fix falsey fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
Westbrook committed Feb 22, 2023
1 parent 3f76b49 commit d1d61e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dev-server-rollup/src/rollupAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export function rollupAdapter(
result = await idResolver.call(rollupPluginContext, resolvableImport, filePath, {
...resolveOptions,
assertions: {
...(resolveOptions?.assertions || []),
...(resolveOptions?.assertions as Record<string, string> || {}),
},
isEntry: false,
});
Expand Down

0 comments on commit d1d61e9

Please sign in to comment.