icon-font-loader | A webpack loader to convert svgs into font icons in CSS | Icon library
kandi X-RAY | icon-font-loader Summary
kandi X-RAY | icon-font-loader Summary
A webpack loader to convert svgs into font icons in CSS.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of icon-font-loader
icon-font-loader Key Features
icon-font-loader Examples and Code Snippets
Community Discussions
Trending Discussions on icon-font-loader
QUESTION
ANSWER
Answered 2020-Mar-31 at 13:46you don't have any rule in your webpack config for .css
files, only .scss
files;
add a seprate css rule for CSS like that from libraries you use, or add .css
beside .scss
to let it handle both;
edit: actually your webpack-prod.js
is deadly out-of-shape. multiple errors;
- the loader you use for fonts should be re-written
- remove unused imports on the top of file( non-js import will cause execption)
- you'd mixed plugins and loader in
rule
section - honestly I was trying to fix but there were too many error one after another which is frustrating to work :(
Anyway, here is slightly more appropriate config to continue your debug journey ( no more @font-face error :)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install icon-font-loader
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page