Open ShookLyngs opened 1 year ago
@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?
@07akioni
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?