Where is unused-files-webpack-plugin used? #331
-
I have seen it as a project dependency, but it is used nowhere in the project. I have checked other dependencies and still nothing. This comes because I have an issue with that plugin that reports all the files that only contain TS interfaces as unused. Is there a way to disable it in certain files? Or to disable it completely? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
unused-files-webpack-plugin doesn't work with webpack@5, so it was removed from webpack-config-single-spa in efb694b#diff-790fd7329e3a3719755d15a22f897ed7e01866bb7b3407ea56f35f2584ca1fd3L97 It should no longer be a dependency added to newly generated projects, but seems it is. I'll create a github issue for this and put together a fix. |
Beta Was this translation helpful? Give feedback.
unused-files-webpack-plugin doesn't work with webpack@5, so it was removed from webpack-config-single-spa in efb694b#diff-790fd7329e3a3719755d15a22f897ed7e01866bb7b3407ea56f35f2584ca1fd3L97
It should no longer be a dependency added to newly generated projects, but seems it is. I'll create a github issue for this and put together a fix.