Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vite load all the chunk in the package @tabler/icons-react #19017

Closed
7 tasks done
cp-20 opened this issue Dec 20, 2024 · 1 comment
Closed
7 tasks done

Vite load all the chunk in the package @tabler/icons-react #19017

cp-20 opened this issue Dec 20, 2024 · 1 comment

Comments

@cp-20
Copy link

cp-20 commented Dec 20, 2024

Describe the bug

when import an icon from @tabler/icons-react, all the splitted chunks are loaded

image

Reproduction

https://github.com/cp-20/test-vite-dependency-chunk

Steps to reproduce

No response

System Info

System:
    OS: Linux 5.15 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
    CPU: (16) x64 AMD Ryzen 9 6900HS with Radeon Graphics
    Memory: 2.75 GB / 15.62 GB
    Container: Yes
    Shell: 3.7.1 - /usr/bin/fish
  Binaries:
    Node: 22.11.0 - /usr/local/bin/node
    Yarn: 1.22.22 - /usr/local/bin/yarn
    npm: 10.9.0 - /usr/local/bin/npm
    bun: 1.1.40 - ~/.bun/bin/bun
  Browsers:
    Chrome: 131.0.6778.204
  npmPackages:
    @vitejs/plugin-react: ^4.3.4 => 4.3.4 
    vite: ^6.0.3 => 6.0.4

Used Package Manager

bun

Logs

No response

Validations

@cp-20
Copy link
Author

cp-20 commented Dec 20, 2024

The issue seems a bug of the icon package itself: tabler/tabler-icons#1233

@cp-20 cp-20 closed this as completed Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant