gregnb / filemanager-webpack-plugin

Copy, move, archive (zip/tar/tar.gz), delete files and directories before and after Webpack builds. Win32/Mac/*Nix supported
MIT License
463 stars 34 forks source link

FileManagerPlugin [DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET] DeprecationWarning: Compilation.chunks was changed from Array to Set (using Array method 'map' is deprecated) #108

Closed signmeuptwice closed 3 years ago

signmeuptwice commented 3 years ago

yarn watch gives:

FileManagerPlugin(node:58409) [DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET] DeprecationWarning: Compilation.chunks was changed from Array to Set (using Array method 'map' is deprecated)

"filemanager-webpack-plugin": "^6.1.6", "webpack": "^5.51.1",

sibiraj-s commented 3 years ago

Delete node_modules dir and lock file and run a fresh installation. Can you try if that helps?

sibiraj-s commented 3 years ago

Closing the issue. since the api is not used by FMP. Feel free to continue the conversation if needed.