Skip to content

Variables import is not working from other files #85

Open
@killerdejavu

Description

@killerdejavu

I have two files

styles1.less

@value lh: 1.5rem

styles2.less

@value lh from './styles1.less'

.heading {
  font-size: lh
}

The above setup doesnt work. Webpack doesnt evaluate anything. It comes as it is to the browser.

But if I use this

@value lh: 1.5rem

.heading {
  font-size: lh
}

The above works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions