unused-files-webpack-plugin
unused-files-webpack-plugin copied to clipboard
Please upgrade to Webpack 5
the current version is not compatible with Webpack 5
bump
@tomchentw if there are plans to update the plugin to be compatible with the fifth version of webpack?
Got a build going here: https://github.com/tomchentw/unused-files-webpack-plugin/pull/41
Any updates? Need this update.
Are there similar plugins that support Webpack 5?
Decided to use webpack-deadcode-plugin
while we are waiting for unused-files-webpack-plugin
. It looks to be working OK with Webpack 5.
we can edit index.js,eg:
compiler.hooks.afterEmit.tap('unusedFile', (compilation) => {
applyAfterEmit(compiler, compilation, this)
return true
})