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
If the issue is related to 1.x -> 2.0 upgrade, read the Migration Guide first.
Describe the bug
When using @tabler/icon with vite@1.0.0-rc.13, @tabler/icons wasn't all bundled into your production build. Using vite@2.0.0-beta.12, all the icons are bundled into the production bundle.
or:
when importing one icon from @tabler/icon:
import{IconBrandFirefox}from'@tabler/icons'
it used to only bundle this very icon. Now it bundles all the icons.
Describe the bug
When using
@tabler/icon
withvite@1.0.0-rc.13
,@tabler/icons
wasn't all bundled into your production build. Usingvite@2.0.0-beta.12
, all the icons are bundled into the production bundle.or:
when importing one icon from
@tabler/icon
:it used to only bundle this very icon. Now it bundles all the icons.
Reproduction
Here's a reproduction repo: https://github.com/Schniz/vite-preact-ts
check out the GitHub action with the analyzed data: https://github.com/Schniz/vite-preact-ts/runs/1676562255#step:4:9
System Info
vite
version:2.0.0-beta.19
Logs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.The text was updated successfully, but these errors were encountered: