rollup-plugin-visualizer
📈⚖️ Visuallize your bundle (by btd)
vite-plugin-svgr
Vite plugin to transform SVGs into React components (by pd4d10)
| rollup-plugin-visualizer | vite-plugin-svgr | |
|---|---|---|
| 4 | 7 | |
| 2,391 | 741 | |
| 0.3% | 0.1% | |
| 8.1 | 4.8 | |
| 3 months ago | 2 months ago | |
| TypeScript | TypeScript | |
| MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rollup-plugin-visualizer
Posts with mentions or reviews of rollup-plugin-visualizer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-04-04.
-
bundle-stats alternatives - webpack-bundle-analyzer, statoscope, and rollup-plugin-visualizer
4 projects | 4 Apr 2025
-
How to optimize Vite app?
Visualizer from "rollup-plugin-visualizer"
-
PageSpeed / Lighthouse - Reduce unused JavaScript
I think https://github.com/btd/rollup-plugin-visualizer can help with checking which packages are the largest.
-
Using Vite with React
In our "old" build system - I configured webpack-bundle-analyze to inspect bundle chunks and understand what it made of. I added rollup-bundle-visualyzer instead (although there is an issue that the reported size is not correct).
vite-plugin-svgr
Posts with mentions or reviews of vite-plugin-svgr.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-08-05.
-
How to import SVG as React Component with Vite and TypeScript
1. Install vite-plugin-svgr
-
From Parcel to Vite: A short story of a 100K LOC migration
We use the vite-plugin-svgr plugin to convert SVGs to React components. It's as simple as adding the plugin to the Vite config:
-
Why and How to Migrate Your React App from CRA to Vite
You can check out vite-plugin-svgr to learn more about how to install and use svgr() and all the configuration options that it exposes.
-
Chrome Extension with React + CRXJS + Vite + Docker
If you want to use svg with React components, install vite-plugin-svgr.
-
Migrating from Create React App (CRA) to Vite
We need vite-plugin-svgr in order to import SVGs as React components. For example:
-
Repeating variable names for imports, types and switch. Got to be a better way!
If you're using Vite, then maybe try one of these: - https://github.com/pd4d10/vite-plugin-svgr - https://github.com/vbenjs/vite-plugin-svg-icons
-
Using Vite with React
Instead of webpack svgr - vite has a community plugin vite-plugin-svgr. Looking at its source code I can tell that it does the work as needed. In the future, I may want to add more SVGR options (currently for custom colors we use css currentColor property), so I may contribute it or create a similar plugin. NOTE: vite bundles the static svg in addition to assets even if you use vite-plugin-svgr. So many useless files will be generated. This is a minor issue that can be unnoticeable. I created a script for deleting those files (it has 0 impacts on the bundle because the client does not download those chunks).
What are some alternatives?
When comparing rollup-plugin-visualizer and vite-plugin-svgr you can also consider the following projects:
webpack-bundle-analyzer - Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap
svgr - Transform SVGs into React components 🦁
vite - Next generation frontend tooling. It's fast!
vite-plugin-svg-icons - Vite Plugin for fast creating SVG sprites.