less / less/less-plugin-inline-urls

Not working for fonts?

Open
#8 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
15
Forks
5
PR merge metrics
No merged PRs in 30d

Description

@font-face {
  font-family: Raleway;
  src: url("@{css-framework-fonts}raleway-light.woff2") format("woff2"),
       url("@{css-framework-fonts}raleway-light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

I've tried isolating both formats with no difference in output.

I understand the excessive bloat that this will produce, but it is necessary for local access to my CSS documentation in Firefox, where the same-origin policy is different from other browsers.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the @font-face example from issue #8 with both WOFF2 and WOFF inputs, then compare the generated output in Firefox and other browsers. Done means the plugin's handling of these font URLs is confirmed and a concrete fix or limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.