gulp-concat-css
gulp-concat-css copied to clipboard
Concatenates css files, bubbling up import statements (as per the standard), and optionally rebasing urls and inlining local import statements.
When installing via npm, a warning is issued: ┌──────────┬─────────────────────────────┐ │ High │ Regular Expression Denial of Service │ ├──────────┼─────────────────────────────┤ │ Package │ url-regex │ ├──────────┼─────────────────────────────┤ │ Patched in │ No...
Hi, I've just encontered a bug during concatenation of files containing inlined SVG ``` css div { background-image: url("data:image/svg+xml;utf8,"); } ``` produces ``` css div { background-image: url("data:image/svg+xml;utf8,"); } ```...
While running the gulp-ruby-sass task to convert .sass files to .css the style seems to be ignored while files are being concatenated. Example setup below that is returning concatenated files,...
I'm trying to concat 4 css files which have in total 4 url() directives, one of which is a data-url. Two others point to an image in folder `img` and...
The new CSS @apply rule decribed [here](https://tabatkins.github.io/specs/css-apply-rule/) causes a crash. ``` events.js:141 throw er; // Unhandled 'error' event ^ Error: C:\GitHubWeb\CssMaterial\src\components\button.css:17:5: missing '}' at error (C:\GitHubWeb\CssMaterial\node_modules\gulp-concat-css\node_modules\rework\node_modules\css\lib\parse\index.js:62:15) at declarations (C:\GitHubWeb\CssMaterial\node_modules\gulp-concat-css\node_modules\rework\node_modules\css\lib\parse\index.js:259:26) at...
I'm not sure the use case for URL rewriting, but it just bit me in an unfortunate way. Similar to https://github.com/mariocasciaro/gulp-concat-css/issues/1, I'm also using font-awesome, but the paths that are...
The `@charset` at-rule "must be the first element in the style sheet and not be preceded by any character" ([see MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/@charset)). If different files have different charsets, things could get...
I'm struggeling to get some url rebasing correctly with your plugin. Maybe I'm doing something obviously wrong, but I couldn't get the expected results even after trying for multiple hours....
This change would fix the issues I'm having in #39. Not sure if this is sane or changing usefull old behavior! Edit: refactored the fix a little bit more. Btw....