Comments (8)
Hi @jawn-ha . Could you provide svg file which produces this error?
from svgo-loader.
Hi @jawn-ha . Could you provide svg file which produces this error?
this is the svg icons
svg_icon.zip
from svgo-loader.
Cannot reproduce. Could you create repository with reproduction including webpack setup?
from svgo-loader.
Cannot reproduce. Could you create repository with reproduction including webpack setup?
I create an repo to reproduce the question https://github.com/jawn-ha/svgo-test.
You can clone and run npm install
andnpm run serve
to reproduce
from svgo-loader.
I see. It's not svgo-loader issue. Put svg-sprite-loader before svgo-loader. It's stupid webpack loaders ordering.
from svgo-loader.
I had tried this,if you put svg-sprite-loader before svgo-loader, svgo-loader will not working
I see. It's not svgo-loader issue. Put svg-sprite-loader before svgo-loader. It's stupid webpack loaders ordering.
from svgo-loader.
I don't see any issue with svgo. It produces correct svg, it removes fill from path. Maybe something wrong with svg-sprite-loader. I'm not experienced with it.
from svgo-loader.
I have solved it, you are right! The cause of the problem is my SVGO config is wrong. Thanks for your patience
I don't see any issue with svgo. It produces correct svg, it removes fill from path. Maybe something wrong with svg-sprite-loader. I'm not experienced with it.
from svgo-loader.
Related Issues (20)
- 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
- 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
- Webpack ignores svgo-loader HOT 3
- 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
- TypeError: loadConfig is not a function HOT 5
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.