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.

[4.0] possible inline option corner case

See original GitHub issue

I was reading is-allowed-resource.js and run into this case:

> new CleanCSS({ inline: ['remote', 'local'] }).minify('@import url(http://127.0.0.1/remote.css);', console.log);
null { styles: '@import url(http://127.0.0.1/remote.css);',
  stats:
   { efficiency: 0,
     minifiedSize: 41,
     originalSize: 41,
     timeSpent: 4 },
  errors: [],
  inlinedStylesheets: [],
  warnings: [ 'Skipping remote @import of "http://127.0.0.1/remote.css" as resource is not allowed.' ] }

Admittedly ['remote', 'local'] should probably just be ['all'], so I’m not sure if this is a bug or not.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
jakubpawlowiczcommented, Jan 23, 2017

Seems to work fine indeed, pushed to master in 05e792deb93f5236916113df1d29655776c37b1c

0reactions
jakubpawlowiczcommented, Jan 25, 2017

Fixed in 4.0.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Forms · Bootstrap v4.6
Examples and usage guidelines for form control styles, layout options, and custom components for creating a wide variety of forms.
Read more >
Status of C99 features in GCC - GNU Project
Feature Version Notes restricted pointers GCC 2.95 variable length arrays GCC 0.9 Various corner cases fixed in GCC 4.5. flexible array members GCC 3.0
Read more >
Wedge Loc 205 Corner & Inline Brace Set, Brown/A
Installation instructions are printed on the back of the package; Includes: three universal collar, three heavy Wedge and four 60 degree socket ...
Read more >
Robot Framework User Guide
Enables easy-to-use tabular syntax for creating test cases in a uniform way. ... Starting from Robot Framework 4.0, it is also possible to...
Read more >
C# 8 switch expression with multiple cases with same result
I got around to installing it, but I have not found a way to specify multiple, separate case labels for a single switch...
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