Skip to content

Loader fails on SVG definition rules with URL values #25

@BarakChamo

Description

@BarakChamo

The loader seems to break when .less files include references to SVG definitions. I'm using the markers in the styles because I don't want to mess with the charting library I'm using but the less loader breaks on the URL.

Marker definition:

<defs>
    <marker id="line-marker">
        <circle cx="6" cy="6" r="5"></circle>
    </marker>
</defs>

Marker use:

path.nv-line {
    marker-mid: url('#line-marker');
}

Is there a way of ignoring some URL values in the .less files or another way to prevent the loader from failing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions