Importing CSS file as reference fails silently
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 17k
- Forks
- 3.4k
- Avg merge
- 7h 42m
- Merged PRs (30d)
- 26
Description
Following discussion on https://github.com/less/less-docs/pull/400, there's a silent buggy behaviour on the Less importer engine, where importing as reference a CSS file will do nothing. Instead, it is expected the CSS file would be interpreted as less or a warning should be given explaining this CSS-as-reference is not valid.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Less importer engine and review the discussion in less/less-docs#400 for the intended CSS-as-reference behavior. Trace how an imported CSS file is handled when marked as a reference. Done means the behavior is no longer silently ignored: it is interpreted as Less or produces an explanatory warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100