Skip to content

Commit

Permalink
fix: exclude tabler/icons-react from optimizeDeps to avoid crashing p…
Browse files Browse the repository at this point in the history
…erformance CI (#6621)

## ISSUE (Warning)

- Fixes #6437 

### Things needed to investigate :

- [x] Can we exclude @tabler-icons from Babel / wyw-in-js / the vite
config of Storybook ?
> Yes we can

- [ ] Is there a reproducible difference between non-Linaria components
loading time and Linaria components loading times ?
> Couldn't find anything related to this, yet. but changes fix the
problem.
  • Loading branch information
Nabhag8848 authored Aug 16, 2024
1 parent 5404a8b commit 20d8475
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/twenty-front/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,8 @@ export default defineConfig(({ command, mode }) => {
localsConvention: 'camelCaseOnly',
},
},
optimizeDeps: {
exclude: ['@tabler/icons-react'],
},
};
});

0 comments on commit 20d8475

Please sign in to comment.