Skip to content

Instantly share code, notes, and snippets.

@adriandmitroca
Created July 17, 2021 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adriandmitroca/de47bb3e77db132911c0046d3242fb17 to your computer and use it in GitHub Desktop.
Save adriandmitroca/de47bb3e77db132911c0046d3242fb17 to your computer and use it in GitHub Desktop.
Fix ViewBox removal in SVGO
const { extendDefaultPlugins } = require("svgo")
module.exports = {
plugins: extendDefaultPlugins([
{
name: "removeViewBox",
active: false,
},
]),
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment