unused-files-webpack-plugin icon indicating copy to clipboard operation
unused-files-webpack-plugin copied to clipboard

Please upgrade to Webpack 5

Open budarin opened this issue 3 years ago • 7 comments

the current version is not compatible with Webpack 5

budarin avatar Oct 13 '20 17:10 budarin

bump

jakeleventhal avatar Oct 15 '20 14:10 jakeleventhal

@tomchentw if there are plans to update the plugin to be compatible with the fifth version of webpack?

jquery-dlya-slabih avatar Nov 24 '20 10:11 jquery-dlya-slabih

Got a build going here: https://github.com/tomchentw/unused-files-webpack-plugin/pull/41

diclophis avatar Jan 25 '21 20:01 diclophis

Any updates? Need this update.

balovbohdan avatar May 28 '21 09:05 balovbohdan

Are there similar plugins that support Webpack 5?

balovbohdan avatar May 28 '21 09:05 balovbohdan

Decided to use webpack-deadcode-plugin while we are waiting for unused-files-webpack-plugin. It looks to be working OK with Webpack 5.

balovbohdan avatar May 28 '21 09:05 balovbohdan

we can edit index.js,eg:
compiler.hooks.afterEmit.tap('unusedFile', (compilation) => { applyAfterEmit(compiler, compilation, this) return true })

CanbingChen avatar Mar 30 '22 02:03 CanbingChen