Skip to content

@import of files with a CSS extension #4

Closed
@asual

Description

@asual

Files with a CSS extension are processed but imports ending in .css are not. Is this made for performance?

There is no such restriction in the Ruby version and it will be great if it at least can be made optional. I prefer using .css instead of .less because text editors recognize it by default and colorize the LESS syntax fairly well.

I traced the problem to the following line in the tree.Import function:
this.css = /css$/.test(this.path);

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