Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Support extracting chunk manifest

Latest
Compare
Choose a tag to compare
@jouni-kantola jouni-kantola released this 09 Nov 14:49

Support extracting chunk manifest

TL;DR

  • Forked chunk-manifest-webpack-plugin and removed overlaps. inline-chunk-manifest-html-webpack-plugin now extracts chunk manifest.
  • Major version bump as an effect of dropping webpack 1 support. Now only supports webpack 2 and 3.
  • API wise no updates, configuration of inline-chunk-manifest-html-webpack-plugin remains the same.

Background

Upgrades of inline-chunk-manifest-html-webpack-plugin have up until now been prevented by a long-running issue in the dependency plugin chunk-manifest-webpack-plugin (soundcloud/chunk-manifest-webpack-plugin#47). This in turn had the indirect effect of preventing users from upgrading to webpack 3. To enable independent updates of the plugin, chunk-manifest-webpack-plugin is forked and included in the plugin.

Updates

  • chunk-manifest-webpack-plugin is forked and included into inline-chunk-manifest-html-webpack-plugin.
  • Overlapping functionality with previous dependency plugin removed.
  • Removed adding chunk manifest to chunks (soundcloud/chunk-manifest-webpack-plugin#47).
  • Dropped webpack 1 support, and therefor major version bumped inline-chunk-manifest-html-webpack-plugin. There were code in the forked plugin that enabled backwards compatibility. However, as webpack 1 is deprecated, code for backwards compatibility was removed.
  • No configuration changes are required when consuming the plugin.