Issue with @include
See original GitHub issueI get the error ‘Broken @import declaration of …’ when I try to minify CSS containing an import statement like the following:
@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:300italic,400italic,700italic,400,700,300&subset=latin,cyrillic);
It looks like it was introduced between version 2.0.8 and 2.1.0.
Issue Analytics
- State:
- Created 9 years ago
- Comments:22
Top Results From Across the Web
path issue with include in PHP - Stack Overflow
I have an index.php in root and a 'includes' folder containing header.php and footer.php.I included header and footer in index.php and it works ......
Read more >Issues · include-what-you-use/include-what-you-use - GitHub
A tool for use with clang to analyze #includes in C and C++ source files - Issues · include-what-you-use/include-what-you-use.
Read more >Issue - How to solve, php include problem? - Plesk Forum
I've created a new web hosting to move from another hosting a website with all contents, but I have a issue with the...
Read more >Problems with PHP 'include' - Forums - CSS-Tricks
I am trying to include a php file into a div using the following example. <?php include 'http://www.yoursite.com/path/to/file.php'; ?>.
Read more >Issue with include files - Aspose.Cells Product Family
I am currently evaluating Aspose.Cells for C++ for usage in my company. I am having issues with the include files, specifically the unicode ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello, I am using gulp and in there I added .pipe(minifycss({ keepSpecialComments: 1, processImport: false }))
as a temporary workaround.
gulp.task('styles', function() { return sass('sass/main.scss', { style: 'expanded' }) .pipe(gulp.dest('css')) .pipe(rename({suffix: '.min'})) .pipe(minifycss({ keepSpecialComments: 1, processImport: false })) .pipe(gulp.dest('css')); });
Hope this helps.
Regards, Davide
I run into this issue if I am still running my local node express server (with livereload) when running the gulp task. Stopping the server fixes the issue. I guess it’s some kind of locking or filesystem activity which makes it time out.