This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
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 ...
toimport { TwigAssetWebpackPlugin } ...
) - The following options were removed from the plugin configuration:
options.excludedAssetTypes
- This has been moved toAssetLocator
and merged withexcludedFromSearch
intoexcludedMatches
options.excludedFromSearch
- This has been moved toAssetLocator
and merged withexcludedAssetTypes
intoexcludedMatches
options.twigFileRegex
- This has been moved toAssetLocator
and renamed tofileMatch
options.assetNameRegExp
- This has been moved toAssetLocator
and renamed toassetMatch
options.assetNameRegExpMatch
- This has been moved toAssetLocator
and renamed toassetMatchIndex