Skip to content

Releases: sormy/rollup-plugin-smart-asset

Added source map support

03 Mar 21:19
Compare
Choose a tag to compare
1.1.1

FIx transform() missing await bug

Added keepImport feature + load()/transform() hooks

03 Mar 05:15
Compare
Choose a tag to compare
  • updated documentation
  • updated dependencies
  • fs-extra dependency replaced with mkdirp dependency
  • new option keepImport helps to bundle library assets in the way they could be picked up by another bundler (webpack or rollup) and process on their own
  • use both load() and transform() hooks to bundle assets, do not run transform() if asset was already transformed or processed using load() hook
  • 100% unit test coverage

Regular bundling and with keepImport was verified on 2 different projects.

This release has a lot of new positive changes, however, it still should be backward compatible.