Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing SVG generations #74

Open
LukyVj opened this issue Apr 11, 2018 · 1 comment
Open

Missing SVG generations #74

LukyVj opened this issue Apr 11, 2018 · 1 comment

Comments

@LukyVj
Copy link

LukyVj commented Apr 11, 2018

Hello :)

First of all, thank you for making this, super useful and we are using it in my company ( www.algolia.com )
We just have a "big" issue with is, seems like the part that generates the icons, doesn't generate the SVG.

Therefore, webpack throw an error when the icon.css file is trying to access the svg icon, and so, the website display without styles, as webpack failed during the css coimpilation.

Error:

ERROR in ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js!./docs/styles/app.css
Module not found: Error: Can't resolve '../fonts/SG-icons.svg' in '/Users/lucasbonomi/Sites/xxxxxxxxxxxx/docs/styles'
 @ ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js!./docs/styles/app.css 8:36063-36095
 @ ./docs/styles/app.css
 @ multi (webpack)-dev-server/client?http://localhost:3000 ./docs/styles/app.css

Could you either : Fix the SVG generation, or just remove this line?

I really would need this to be fixed :) Thanks a lot in advance

@schorfES
Copy link

schorfES commented May 7, 2018

Hello,

I ran in exactly the same issue. The app.css references the SG-icons.svg font which doesn't exists. Due to this issue, our build fails. I also think to simply remove the line as @LukyVj documented will fix this quickly. Is this possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants