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

v2.0.0

Latest
Compare
Choose a tag to compare
@erik-perri erik-perri released this 22 Oct 01:09
· 2 commits to master since this release

Breaking changes

  • This package now requires Webpack v5+ (use v1.x for Webpack v4 support)
  • This package now requires Node v12+
  • The default export has been removed. You will need to adjust your imports to match (from import TwigAssetWebpackPlugin ... to import { TwigAssetWebpackPlugin } ...)
  • The following options were removed from the plugin configuration:
    • options.excludedAssetTypes - This has been moved to AssetLocator and merged with excludedFromSearch into excludedMatches
    • options.excludedFromSearch - This has been moved to AssetLocator and merged with excludedAssetTypes into excludedMatches
    • options.twigFileRegex - This has been moved to AssetLocator and renamed to fileMatch
    • options.assetNameRegExp - This has been moved to AssetLocator and renamed to assetMatch
    • options.assetNameRegExpMatch - This has been moved to AssetLocator and renamed to assetMatchIndex