Skip to content

Url computation need to be from current css file location, not from html location #120

Description

@harobed

Hi,

In a project I've this files :

.
|-- css
|   |-- basic.css
|   `-- main.less
|-- js
|   `-- less.min.js
`-- index.html

If I use this import url in main.less

@import "./basic.css";

then basic.css isn't imported.

To work I need to use :

@import "css/basic.css";

Url are computed from index.html file, not from main.less file. I think it's a issue, url must be computed from current css (.less) file location.

What do you think about ?

Best regards,
Stephane

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions