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

Support webpack 5 #18

Open
ylavoie opened this issue Jun 14, 2021 · 1 comment
Open

Support webpack 5 #18

ylavoie opened this issue Jun 14, 2021 · 1 comment

Comments

@ylavoie
Copy link

ylavoie commented Jun 14, 2021

Environment

  • Plugin Version: 0.5.6
  • Webpack Version: 5.38.1
  • OS Version: Linux
  • Node Version: 16.2.0
  • NPM Version: 7.13.0
  • Browser Version: n/a

Current Behavior

Building with webpack 5 gives:

(node:1600) [DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET_PUSH] DeprecationWarning: chunk.files was changed from Array to Set (using Array method 'push' is deprecated)ush (/srv/ledgersmb/node_modules/webpack/lib/util/deprecation.js:108:3)
    at ObsoleteWebpackPlugin.additionalAssets (/srv/ledgersmb/node_modules/obsolete-webpack-plugin/src/index.js:74:25)

Expected Behavior

No errors

@Yegorich555
Copy link

Looks like the package hasn't been supported anymore. We have an improved/refactored version for webpack 5: https://github.com/AndrushkevichMikita/webpack-obsolete-plugin

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

No branches or pull requests

2 participants