Currently, I've developed the @neodx/svg package, a flexible CLI for SVG sprite generation.
Compared to static/inline/svgr/loaders methods, this tool significantly improves developer experience, reduces bundle size and build time, and enhances browser performance, among other benefits.
However, a CLI alone isn't sufficient; we need a solution integrated with our build process:
During development, the solution should automatically rebuild sprites on startup or when icons are added, updated, or deleted.
For production, sprites should be rebuilt before building the application.
To address these requirements, I plan to create a plugin that covers these functionalities seamlessly.
Currently, I've developed the @neodx/svg package, a flexible CLI for SVG sprite generation. Compared to static/inline/svgr/loaders methods, this tool significantly improves developer experience, reduces bundle size and build time, and enhances browser performance, among other benefits. However, a CLI alone isn't sufficient; we need a solution integrated with our build process:
To address these requirements, I plan to create a plugin that covers these functionalities seamlessly.
As an initial goal, I planned to add support for
vite
only, but I will also explore opportunities to support the entire web ecosystem usingunplugin
.