Closed tjs-intel closed 1 year ago
Confirmed that this does terminate the compilation with unused exports and the failOnHint: true
.
thanks @tjs-intel for fixing the issue 💯
I does not work for webpack 4 now with the latest version. Is the fix in this thread only function for webpack 5?
The last version was released in 2021. I think the maintainer isn't releasing new versions.
unusedExportMap
is a map so theObject.keys
function should be used to check if it is empty.