egoist / egoist/rollup-plugin-postcss

Use @import (reference) '~moduleName/file.less'

Open
#206 4 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
689
Forks
210
PR merge metrics
No merged PRs in 30d

Description

I import npm modules from a monorepo, which uses the syntax "@import (reference) '~moduleName/less/vaiables.less' to import less variables. But when I try to build, i get the `(postcss plugin) Error: '~moduleName/less/variables' wasn't found."`

I see the ~ is available for sass files, but it is not for less files? Or is there some config I can set to make this work?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.