github webpack-contrib/html-loader v2.0.0

latest releases: v5.1.0, v5.0.0, v4.2.0...
3 years ago

2.0.0 (2021-02-14)

⚠ BREAKING CHANGES

  • new URL('./source.ext', import.meta.url) syntax is using for importing sources (i.e. src/srcset/etc) and the esModule option is true by default, you can disable it by setting the esModule option to false
  • rename the attributes option to sources
  • the attributes.root option was removed in favor resolve.roots
  • minimum supported webpack version is 5
  • migrate from htmlparser2 to parse5

Features

  • handle more attribute for meta and link tags (348e4f5)
  • allow to disable default sources (#351) (480656f)

Bug Fixes

Don't miss a new html-loader release

NewReleases is sending notifications on new releases.