froad-gulp-usemin
v1.0.1
Published
Replaces references to non-optimized scripts or stylesheets into a set of HTML files (or any templates/views).
Downloads
3
Readme
froad-gulp-usemin
This is a custom gulp-usemin. Other people please don't use it. Please go to gulp-usemin for more details.
What's the differences from gulp-usemin 0.3.11?
- In
/lib/htmlBuilder.js
, We thought the basename of html as the output path is not so reasonable for us, as our html exist in different level of folders. So we change it torelativePath
. - We use
{{
and}}
as the seperator for js/css/png, so we change the the startReg regexp in/lib/blocksBuilder.js
according to our requirement.