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
I have an existing vite project with @ricons/material and @ricons/antd as devDependencies, and when I ran tsc --diagnostics command , here's the result:
We can see that with the new icon package added to the devDependencies, the tsc program had to use much more memory than before. How can we resolve it?
The text was updated successfully, but these errors were encountered:
@07akioni After changing all import { A } from '@ricons/xx' to import A from '@ricons/xx/A', the tsc memory used is now normal, but how can I shrink the process and make it simpler? Do you think you can provide a vite plugin to do the job?
I have an existing vite project with
@ricons/material
and@ricons/antd
as devDependencies, and when I rantsc --diagnostics
command , here's the result:Then I added the
@ricons/fluent
to devDependencies, imported an icon from the library, and then re-ran the command again, here's the result:We can see that with the new icon package added to the devDependencies, the tsc program had to use much more memory than before. How can we resolve it?
The text was updated successfully, but these errors were encountered: