Open dontz1230 opened 2 years ago
I've import virtual register in main.ts
but some how when I build in vite, the bundle of virtual:vite-plugin-svg-icons is too large, which caused the build to fail (about 17M)
but when I checkout other developers' repos, it turned out that the bundle size is only about 100 kb
我也遇到了这个问题,估计是 svg 本身的体积,看可不可以压缩一下,或者删掉未使用的 svg 或者换用其它方案
svg
怎么打包svg文件,我本地配置好,运行没问题,打包后的组件,图标不显示,查看没有svg文件。
I've import virtual register in main.ts
but some how when I build in vite, the bundle of virtual:vite-plugin-svg-icons is too large, which caused the build to fail (about 17M)
but when I checkout other developers' repos, it turned out that the bundle size is only about 100 kb