Comments (3)
Hello!
I was wrong, everything works great! The point is that it didn't remove license comments that start with "<!--!". But that is by design, according to the source code. Although I was confused at first, I eventually figured it out. Thank you for such a cool optimizer and for your time!
from svgo-loader.
We are having the same problem. Single plugins like removeAttr
for example, get respected, but preset-default
does nothing. I would like, that svgo-loader
using the same defaults as the svgo
command line tool.
My dependencies
"svgo": "2.4.",
"svgo-loader": "3.0.0",
"webpack": "5.51.1",
"webpack-cli": "4.8.0",
"webpack-dev-server": "4.0.",
from svgo-loader.
Hello. We're low on manpower, but if you figure out the problem and submit a PR with a fix, I can review and merge it, and release a new version for you.
from svgo-loader.
Related Issues (20)
- svgo dependency resolves as v0.7.2 with svgo-loader v2.0.0 HOT 15
- TypeError: callback is not a function HOT 7
- Error in parsing SVG: Non-whitespace before first tag. HOT 3
- Module build failed: TypeError: callback is not a function HOT 1
- Load config from svgoConfig.yml file? HOT 5
- Does svgo-loader cache result? HOT 2
- feature request: Append config to imported external config HOT 1
- option: pretty true not honored HOT 1
- Issues: when using loader multiple times problems occur (+solution) HOT 2
- SVGO v2 HOT 7
- Error in parsing SVG: Non-whitespace before first tag HOT 8
- svgo loader multiple versions breaks extendDefaultPlugins HOT 1
- Webpack 5 | Error: Plugin name should be specified HOT 3
- Cannot configure the svgo-loader
- why not image-webpack-loader? HOT 1
- Publish new release to npm with svgo 2.5.0 HOT 2
- Please help to update loader-utils for fixing the vulnerability HOT 3
- What versions of webpack does `svgo-loader` support? HOT 6
- SVGO v3.0.0 support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svgo-loader.