question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

@import remote stylesheets does not work on 3.12.0

See original GitHub issue

Seems like 3.12.0 broke imports for remote stylesheets. For example

@import "https://raw.githubusercontent.com/less/less.js/master/packages/test-data/less/visitorPlugin/visitor.less";

.h1 { font-size: 1px; }

compiles on 3.11.3, but on 3.12.0 it throws

SyntaxError: The "url" argument must be of type string. Received an instance of Object in /.../test_less_remote_import.less on line 1, column 1:
1 @import "https://raw.githubusercontent.com/less/less.js/master/packages/test-data/less/visitorPlugin/visitor.less";

Is this a bug or was the support for remote imports dropped?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
matthew-deancommented, Jul 15, 2020

@hitesh-sourcefuse nvm, made a PR

0reactions
matthew-deancommented, Jul 15, 2020

@hitesh-sourcefuse Can you make a PR with those fixes and tests?

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS and Bootstrap not loading in Rails 6 app when deployed ...
In my test.js file I had some code which output to the console and it works. I would expect it to not work...
Read more >
import - CSS: Cascading Style Sheets - MDN Web Docs
The @import CSS at-rule is used to import style rules from other valid stylesheets. An @import rule must be defined at the top...
Read more >
Source code for snakemake.utils - Read the Docs
Attention: This function needs Python docutils to be installed for the python installation you use with Snakemake. All keywords not listed below are...
Read more >
Bioconductor 3.12 Released
The import() interface optionally provides transparent access to remote (e.g. via https) as well as local access. Developers can register a file extension, ......
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
Bug:1523 - "[IDEA] Offload work by distributing trivial ebuild maintenance ... script for is not working" status:RESOLVED resolution:OBSOLETE severity:major ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found