ProgrammerAH

Programmer Guide, Tips and Tutorial

Skip to content

[Modified] svg loader Error: Plugin name should be specified

Wrong writing

plugins: [
    {removeAttrs: {attrs: "path:fill"}}
]

Correct writing

plugins: [
    {
        name: 'removeAttrs',
        params: {
            attrs: 'fill'
            }
        }
]

Demo: https://github.com/svg/svgo/blob/master/plugins/removeAttrs.js

This entry was posted in JavaScript and tagged javascript on 2021-11-20 by Robins.

Post navigation

← Redis Error: HandleServiceCommands: system error caught. error code=1056, message = StartService failed: Error in configuring Hadoop 3.1.3: attempting to operate on yarn nodemanager as root error →

Recent Posts

  • MAFIA: 1- OpenFlow statistics (Counters, Timestamps)(mafia-sdn/p4demos/demos/1-openflow/1.1-statistics/p4src/of.p4)
  • LDSC: Could not open Corces_ATAC_1000Gv3_ldscores/Corces_ATAC.1.1.l2.ldscore[./gz/bz2]
  • Gradle Package Project Lombok Not Working: No serializer found for class com.qbb.User and no properties discovered to create BeanSerializer……
  • [Solved] PCH Warning: header stop not at file scope
  • pymysql Error: File “/usr/local/lib/python2.7/site-packages/PyMySQL-1.0.2-py2.7.egg/pymysql/connections.py”, line 167 SyntaxError: invalid syntax
Proudly powered by WordPress