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

Webpack 5 deprecation: chunk.files #73

Open wouterSkepp opened 3 years ago

wouterSkepp commented 3 years ago

Enabling the hash and/or using the transformFile option in combination with webpack 5 will throw a deprecation warning:

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

webpack-merge-and-include-globally npm version: 2.3.4 webpack version 5.5.0

LeSuisse commented 3 years ago

Can be closed by #63

thomassjogren commented 3 years ago

Can be closed by #63

Would be nice to get that in. @markshapiro is there anything we can do to help to get it merged?