grunt-inline
grunt-inline copied to clipboard
Brings externally referenced resources, such as js, css and images, into a single file.
Are you kidding me? I spent half an hour trying to figure out why ``` ``` failed to inline, only to discover this package is line-break sensitive! If you say...
Hello. i've tried to use this plugin for inlining CSS for handlebars templates, but it don't work. Handlebars templates - are HTML parts without . Maybe this cause the trouble?
``` ``` ``` Running "inline:dist" (inline) task Processing trunk/index.html...Warning: ENOENT, no such file or directory '/usr/local/www/build/index.js' Use --force to continue. ``` Sure that the problem is in the css files...
I ran `grunt-inline` on my page, and got this: ``` �PNG IHDR��=��"IDATx���gtT�Y�z�//qb�$6%ut8�"�r
`@charset` can be used only in an external CSS file. When inlining external CSS, `@charset` should be removed.
I want to add the evaluation of the path beginning with '/'.
All my inlined images, jpg's and png's both, are working great on Chrome but Firefox says "The image cannot be displayed because it contains errors". Here's an example of image...
When grunt-inline inlines my css, it messes up the path to my background images. ``` background: #463862 url(/assets/img/mountain.jpg) no-repeat center top fixed; ``` becomes ``` background: #463862 url(../../../../../assets/img/mountain.jpg) no-repeat center...
If a or tag in HTML already has its src/href base64 encoded, it should be skipped.