You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.
jade: [[/src=['"]([^"']+\.(?:png|gif|jpe?g|css|js))["']/img,'Update the Jade with src attributes'],[/href=['"]([^"']+\.(?:png|gif|jpe?g|css|js))["']/img,'Update the Jade with href attributes'],[/url\(\s*['"]?([^"'\)]+)["']?\s*\)/img,'Update the Jade with background imgs, case there is some inline style']]
...
Running "useminPrepare:html" (useminPrepare) task
Going through .tmp/public/_layout.jade to update the config
Looking for build script HTML comment blocks
Configuration is now:
concat: {...}
uglify: {...}
cssmin: {...}
Running "usemin:jade" (usemin) task
Processing as JADE - .tmp/public/_layout.jade
Update the Jade with src attributes
Update the Jade with href attributes
Update the Jade with background imgs, case there is some inline style
Done, without errors.
Process finished with exit code 0
I've been trying to get
usemin
working with.jade
files. I have it close, but not all the way there.I'm using a plugin called usemin-patterns to get
usemin
to work with.jade
, but it's not working properly. After running these targets:...where the
.jade
patterns are defined as:The issue is that it's turning this:
into this:
Notice that the output is HTML- this means that my
.jade
file ends up looking like this:Notice how the
grunt-usemin
task skips right over the HTML syntax for things like versioning (with grunt-rev).Any thoughts on how I can get
usemin
and/orusemin-patterns
to inject valid.jade
syntax into the file? Thanks!Similar SO thread for reference
The text was updated successfully, but these errors were encountered: