Using npm run build:production appear the deprecation warnings:
webpack-fix-style-only-entries:
(node:18462) [DEP_WEBPACK_CHUNK_ENTRY_MODULE] DeprecationWarning: Chunk.entryModule: Use new ChunkGraph API
(node:18462) [DEP_WEBPACK_MODULE_INDEX] DeprecationWarning: Module.index: Use new ModuleGraph API
(node:18462) [DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET] DeprecationWarning: chunk.files was changed from Array to Set (using Array method 'filter' is deprecated)
Hello,
this project uses the outdated webpack-fix-style-only-entries plugin that is incompatible with
Webpack 5
.Using
npm run build:production
appear the deprecation warnings:The author of the webpack-fix-style-only-entries plugin recommends using the webpack-remove-empty-scripts plugin for Webpack 5.
This PR just replaces the outdated plugin with the actual version.