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.

Broken @import declaration?

See original GitHub issue

I’m sorry, because I’m unsure this is a clean-css issue, but could you please have a look at this atom-minify issue?

TL;DR:

Atom editor with atom-minify package and clean-css set as the CSS minifier. No options specified. The clean-css is 3.4.25. Whenever there’s a simple @import rule like @import(normalize.css); minification doesn’t work at all, i.e. no file is generated, stating:

Broken @import declaration of “normalize.css”

What am I missing?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
sebworkscommented, Mar 24, 2017

I would suggest trying the following if you are using gulp-clean-css version 4.0.9 :

.pipe( gulpCleanCss( {
      inline: ['none']
 }  )  )
0reactions
jakubpawlowiczcommented, May 7, 2017

I’m closing the issue now - please let me know if there’s a reason we should keep it open.

Read more comments on GitHub >

github_iconTop Results From Across the Web

gulp - Unhandled 'error' event Broken @import declaration
I know this is five months old, but the resolution is to remove ALL comments from the iCheck script, like this... @import ......
Read more >
Broken @import declaration? · Issue #914 · clean-css ... - GitHub
Atom editor with atom-minify package and clean-css set as the CSS minifier. No options specified. The clean-css is 3.4.25. Whenever there's a ...
Read more >
[Solved]-How to fix Unhandled 'error' event. Broken @import ...
Coding example for the question How to fix Unhandled 'error' event. Broken @import declaration of "A" while using Gulp?-node.js.
Read more >
Damaged goods - Finnish Customs - Tulli
If goods have been damaged prior to lodging the customs declaration, the reduction in their value in relation to the original transaction price...
Read more >
Auto import | WebStorm Documentation - JetBrains
Basic procedures to create and optimize imports in WebStorm. Learn more how to import the missing import or XML namespace.
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