Webpack
rollup.js
Babel
Parcel
Vite
esbuild
React
npm
Scour
SVGO
SVGOMG
SVG Cleaner
SVGminify.com
SVG Viewer
Svgsus
Gapplin
Webpack
ScourBased on our record, Webpack seems to be a lot more popular than Scour. While we know about 253 links to Webpack, we've tracked only 6 mentions of Scour. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.
In 2012, Webpack was released as an open-source JavaScript module bundler. It takes dependencies as input and builds a dependency graph, enabling developers to take a modular approach to web application development. This allowed them to import almost anything to client-side code and, over time, became the foundation of the build process for React, Angular, Vue, and many other frameworks. - Source: dev.to / 10 days ago
From a developer experience perspective, it's worth noting that Next.js was built using webpack for bundling, which has struggled to maintain performance. Therefore, when changing something in the code, reload times can be very slow. For this reason, the Next.js team has been working on getting full compatibility on its own bundler, Turbopack. As of Next.js 14, Turbopack is still considered beta but is much faster... - Source: dev.to / 2 months ago
The reality is simple: minification was never security. It's a size optimization that bundlers like esbuild, Webpack, and Rollup do by default. Variable renaming slows down human readers but LLMs read minified code like you read formatted code. - Source: dev.to / 4 months ago
There are also no-framework approaches. These rely directly on React-provided packages and low-level integrations with bundlers like Webpack or experimental support in tools like Bun. While technically possible, these setups are fragile. React explicitly does not guarantee stability of these internal APIs. Any team choosing this route must accept ongoing maintenance risk. - Source: dev.to / 6 months ago
Before addressing the solution, it's useful to contextualize the role of the bundler. In a modern frontend architecture, the bundler (such as webpack, rollup, or vite) has the task of traversing the application's dependency graph, resolving each import statement, to combine modules and assets into static files optimized for browser execution. - Source: dev.to / 8 months ago
You could install the optimizer Inkscape uses internally and process your files with a super simple shell script. When reading the inkscape command line help, it does not seem to offer any option to export optimized SVGs from there. Source: about 3 years ago
Inkscape uses Scour under the hood for optimized SVG export. Source: over 3 years ago
First make sure all your icons are saved as 'Optimized SVG' to remove Inkscape specific data and unnecessary id-attributes. Inkscape uses 'Scour' for this under the hood, so you can just use that directly to convert your files from the command line. I recommend the options --strip-xml-prolog --remove-metadata --enable-id-stripping --renderer-workaround. Now you only need to replace the outermost ... With ... For... Source: about 4 years ago
The script optimised the SVG using Scour. This removes some metadata and also shortens IDs as well as strip out comments. For the PNG files we used OptiPNG on the maximum optimisation setting. This can be slow on larger files, but for favicons should not take long. Hereโs the before and after comparison of files sizes for a particular favicon, using the script:. - Source: dev.to / about 4 years ago
I also recommend Inkscape, it also has scour built-in to it. When saving a SVG select the option "optimized SVG" which will give you options to pass to scour to lower the amount of markup there is. You can then do some hand editing after this to further remove any markup you don't want. Source: over 4 years ago
rollup.js - Rollup is a module bundler for JavaScript which compiles small pieces of code into a larger piece such as application.
SVGO - Tool for optimizing SVG files
Babel - Babel is a compiler for writing next generation JavaScript.
SVGOMG - SVGOMG is SVGO's Missing GUI, aiming to expose the majority, if not all the configuration options of SVGO.
Parcel - Blazing fast, zero configuration web application bundler
SVG Cleaner - Generally, SVG files produced by vector editors contain a lot of unused elements and attributes...