markshapiro / webpack-merge-and-include-globally

Merge multiple files (js, css..) and include by running them "as is". Supports minify by custom transform and wildcard paths.
MIT License
102 stars 27 forks source link

Fix Webpack 5 deprecation warning: Chunk.files is now a Set #63

Open LeSuisse opened 3 years ago

LeSuisse commented 3 years ago

This contribution solves the deprecation warning caused by the transformation into a Set of Chunk.files in Webpack 5.

The warning should not been visible anymore

[DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET_PUSH] DeprecationWarning: chunk.files was changed from Array to Set (using Array method 'push' is deprecated)