This repository was 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 toAssetLocatorand merged withexcludedFromSearchintoexcludedMatchesoptions.excludedFromSearch- This has been moved toAssetLocatorand merged withexcludedAssetTypesintoexcludedMatchesoptions.twigFileRegex- This has been moved toAssetLocatorand renamed tofileMatchoptions.assetNameRegExp- This has been moved toAssetLocatorand renamed toassetMatchoptions.assetNameRegExpMatch- This has been moved toAssetLocatorand renamed toassetMatchIndex