fix: exclude tabler/icons-react from optimizeDeps to avoid crashing performance 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.
This commit is contained in:
Nabhag Motivaras
2024-08-16 19:48:45 +05:30
committed by GitHub
parent 5404a8ba2d
commit 20d84755bb

View File

@ -104,5 +104,8 @@ export default defineConfig(({ command, mode }) => {
localsConvention: 'camelCaseOnly',
},
},
optimizeDeps: {
exclude: ['@tabler/icons-react'],
},
};
});