-
Notifications
You must be signed in to change notification settings - Fork 4
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
Parcel build - svg is generated like JS files and not working after html open #41
Comments
Hi @fadrnym It's been a long time I didn't work with Parcel but I thought the last version for parcel v2 worked fine even for build. I'll try tomorrow to be sure. |
@Epimodev thak you very much. I have parcel v2 there, but unfortunately it doesn't work |
@Epimodev - Hello, some information for me? :) Thank you very much. |
Hi @fadrnym But I just found a moment to test and I can confirm the plugin works for dev and build. As I don't use anymore parcel for years and I'm very busy on other projects, I'll not be able to take more time for this. Sorry for not being able to help more on this |
Fixed the svg icons for the build task (svg href was not replaced by xlink:href because there were wrong keys in the svgBundles object )
Thanks a lot @gldenis, |
Hello,
I have a problem with the parcel build, when after building the URL changes to html and the link points to JS files that are not working. please advise how to solve it.? Everything is fine in development mode.
For example, I tried the starter pack here: https://github.com/Nikolasgrizli/Starter-parcel and it doesn't work either.
Thank you very much.
Mirek
My parcelrc file:
{ "extends": "@parcel/config-default", "namers": ["parcel-namer-rewrite"], "transformers": { "*.twig": ["@christian-beckmann/parcel-transformer-twig"], "*.svg": ["parcel-transformer-svg-sprite"] }, "packagers": { "*.html": "parcel-packager-svg-sprite" } }
The text was updated successfully, but these errors were encountered: