Releases
v3.5.0
sokra
released this
08 Aug 08:51
Features:
add stats.excludeAssets
to allow to filter assets in list (@ldrick )
add import(/* webpackMode: "weak" */ "module")
to try to load a module without network request (@faceyspacey )
add 4. argument to require.context
which is the context mode. Can be false
, "eager"
, "lazy-once"
, "weak"
and "async-weak"
. (@faceyspacey )
require.resolveWeak
now support expressions (@faceyspacey )
generate only a single require for modules references in scope-hoisted modules (ModuleConcatenationPlugin
)
Bugfixes:
keep correct import order when using the ModuleConcatenationPlugin
Generate shorter, more readable identifiers in ConcatenatedModule
--help
output is flushed before process exit (@esbenp )
exit code is reliable reported for CLI validation error (@polomsky )
stats
options are now validated by schema (@esbenp )
fixes problem when using the CommonsChunkPlugin
in async mode without name
argument
fixes description of --resolve-extensions
(@tomek-d )
fixes has no internal name
when using dependency variable in root of scope-hoisted modules (ModuleConcatenationPlugin
)
Examples:
You can’t perform that action at this time.