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

Webpack5 upgrade #82

Closed
6 tasks done
ZhengYuTay opened this issue Oct 7, 2020 · 1 comment
Closed
6 tasks done

Webpack5 upgrade #82

ZhengYuTay opened this issue Oct 7, 2020 · 1 comment

Comments

@ZhengYuTay
Copy link
Contributor

ZhengYuTay commented Oct 7, 2020

Let's come out with a checklist to make webpack 5 work.
Reference:
https://webpack.js.org/migrate/5/
https://github.com/nuxt/nuxt.js/pull/4616/files
vercel/next.js#13341

  • Upgrade all webpack plugin to latest to make sure they support webpack5. (Don't update to webpack 5 when upgrading packages)
  • Update outdated options link
  • Make sure no warning message from webpack.
  • webpack typings
  • webpack node polyfill for browser
  • Fix bugs found
@ZhengYuTay
Copy link
Contributor Author

I think we should include browser polyfill. I think next.js provided it as well during their upgrade.
Reference:
https://blog.sindresorhus.com/webpack-5-headache-b6ac24973bf1

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

1 participant