Skip to content

Commit

Permalink
fix: remove erroneous dependencies from the production bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
tigranpetrossian committed Sep 2, 2024
1 parent eda4514 commit 7a836f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion figma-kit/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default defineConfig((env) => {
},
},
rollupOptions: {
external: Object.keys(dependencies),
external: [...Object.keys(dependencies), 'react', 'react-dom', 'react/jsx-runtime'],
output: {
globals: {
react: 'React',
Expand Down

0 comments on commit 7a836f2

Please sign in to comment.