Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LeSuisse
Copy link

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)

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

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)
```

[0] https://webpack.js.org/blog/2020-10-10-webpack-5-release/#arrays-to-sets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant