Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Releases: yeoman/grunt-usemin

v2.1.0

15 Mar 14:12
Compare
Choose a tag to compare

grunt-usemin is a task that replaces references to non-optimized scripts or stylesheets into a set of HTML files (or any templates/views).

It's used in many Yeoman generators, but hasn't had a new release pushed in a few months. This release includes essential changes such as removing blocks if no linked assets are present, supporting async in script blocks and supporting multiple targets in useminPrepare.

If you run into any issues with the task, please file an issue. We're currently looking for help maintaining usemin, so if you're up for issue and code reviews, please feel free to dive right in. Thanks and we hope you find this release useful!

  • 00e2258 Fix breaking tests
  • 9a18371 update grunt dependency
  • 70f34fe Lock Grunt to 0.4.1
  • af90e96 Remove blocks if there are no linked assets
  • a6fcee2 Fix indentation according to JSHint
  • 8a6ac81 useminPrepare accepts array of root directories
  • 2b3543d tests for async blocks
  • 07d3d21 Add support for async attr in script blocks
  • 4fdaa64 Modifying css regex to ignore querystrings.
  • 226a100 Revert back #226. Should fix at least #204, #476, #473 and #472
  • e9d00b9 fix / include block search path in block destination (corresponds to #184 and #186)
  • 2b6702f Removed ref to v2.0 as it has been merged
  • 6f7104d Fix typo
  • c59840e fix / "staging" option not passed to ConfigWriter
  • cd099b2 Grammar and Spelling fixes
  • 1498d14 Add support for configurable staging option.
  • 182f69d Fix directory structure in example
  • ebef405 Support multiple targets in useminPrepare
  • bd7579b Prevented test for defer attribute to match file name in src attribute;