You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With vitejs, barrel files are not a good practice, I wrote a jscodeshift script for my personal needs in order to import the component directly from its file rather than from the barrel file.
Would you like me to give you this code to automatically refactor your code base?
With vitejs, barrel files are not a good practice, I wrote a jscodeshift script for my personal needs in order to import the component directly from its file rather than from the barrel file.
Would you like me to give you this code to automatically refactor your code base?
https://vite.dev/guide/performance#avoid-barrel-files
The text was updated successfully, but these errors were encountered: