Valerioageno / tuono

Superfast fullstack React framework
https://tuono.dev
MIT License
205 stars 13 forks source link

[Bug]: Documentation website loads all the @tabler/icon-react chunks #114

Open Valerioageno opened 1 week ago

Valerioageno commented 1 week ago

Description

With the tuono dev command the package @tabler/icon-react loads all the chunks at every page load. It is a known bug on tabler side https://github.com/tabler/tabler-icons/issues/1233

Expected behaviour

We should prevent to load all the icons

How to reproduce

Just install the dependencies and run tuono dev and check the network tab

Screenshots

Screenshot 2024-11-17 124729

Tuono version

No response

OS

No response

Browser

No response

Node version

No response

Rust version

No response

Crate version

No response

Node Package Manger version

No response

Additional context

There is a workaround that is not applicable for tuono because there is no interface available for tweaking the vite configuration on user side. We should consider to add this feature within a possible tuono.config.ts file soon!

marcalexiei commented 3 days ago

Reminder: after releasing tuono.config.ts we have to remember to update tuono version in deploy-documentation workflows:

https://github.com/Valerioageno/tuono/blob/9058f209dd932261256b944ad0117867452ff0fc/.github/workflows/deploy-documentation.yml#L28