Skip to content

Commit

Permalink
chore: fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNaubit committed Jul 1, 2024
1 parent ca8e23c commit a62cb49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ export default defineConfig({
// Exclude peer dependencies from the bundle to reduce bundle size
external: [
"react/jsx-runtime",
...Object.keys(packageJson?.peerDependencies || {}),
...Object.keys(
(packageJson as Record<string, any>)?.peerDependencies || {},
),
],
},
sourcemap: true,
Expand Down

0 comments on commit a62cb49

Please sign in to comment.