Skip to content

Parcel build - svg is generated like JS files and not working after html open #41

@fadrnym

Description

@fadrnym

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" } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions