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

Fix parcel build issue: empty SVG #20

Closed
siamkreative opened this issue Nov 24, 2018 · 3 comments
Closed

Fix parcel build issue: empty SVG #20

siamkreative opened this issue Nov 24, 2018 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@siamkreative
Copy link
Owner

siamkreative commented Nov 24, 2018

When running parcel build index.html --no-source-maps, the SVG sprite is empty.

Here is the generated HTML:

<svg xmlns="http://www.w3.org/2000/svg" class="d-none"></svg>
@siamkreative siamkreative added the bug Something isn't working label Nov 24, 2018
@siamkreative siamkreative self-assigned this Nov 24, 2018
@siamkreative
Copy link
Owner Author

siamkreative commented Nov 24, 2018

Shall I use something like https://github.com/jonathantneal/svg4everybody instead?

@siamkreative
Copy link
Owner Author

Or force parceljs to ignore the SVG sprite parcel-bundler/parcel#357

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant