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
also have optimzeDeps take precendece over the exclude if something is included.
This is a hassle to deal with, since every time a package that needs to be transpiled is inlcuded the config needs to be updated.
Suggested solution
optimzeDeps.exclude has glob support for package names.
Alternative
Writing everything down manually every time some thing new is installed (that needs transpilation).
Additional context
This helps make vite play much nicer with stylexjs components. Since they require transpilation in order to get the final atomic css output, and without this setup local development isnt possible.
Description
Instead of writing every package individually like so:
Could we get glob support like so:
also have optimzeDeps take precendece over the exclude if something is included.
This is a hassle to deal with, since every time a package that needs to be transpiled is inlcuded the config needs to be updated.
Suggested solution
optimzeDeps.exclude has glob support for package names.
Alternative
Writing everything down manually every time some thing new is installed (that needs transpilation).
Additional context
This helps make vite play much nicer with stylexjs components. Since they require transpilation in order to get the final atomic css output, and without this setup local development isnt possible.
Validations
The text was updated successfully, but these errors were encountered: