Skip to content

Commit

Permalink
dedupe styled-components
Browse files Browse the repository at this point in the history
  • Loading branch information
Enjoy2Live committed Jun 16, 2024
1 parent 7497cfe commit a2078bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/vike-app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ const config: UserConfig = {
ssr: {
noExternal: ['styled-components', '@emotion/*'],
},
resolve: {
dedupe: ['styled-components'],
},
};

export default config;

0 comments on commit a2078bf

Please sign in to comment.