-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Update to webpack v5 #205
Comments
Yeap. I like to migrate to webpack 5, but do not have time to do this, since spending all my time with Logux State. Can you send PR? |
Does only the
|
Yeap, only |
This was referenced Nov 18, 2020
Closed
jaydenseric
added a commit
to jaydenseric/next-server-context
that referenced
this issue
Nov 18, 2020
…on builds. The size-limit had to be increased because webpack v4 starts to include the browser shim for the Node.js process global. This will not happen in webpack v5 which size-limit doesn’t use yet, see: ai/size-limit#205 .
jaydenseric
added a commit
to jaydenseric/device-agnostic-ui
that referenced
this issue
Dec 23, 2020
…ew JSX transform. - Custom Babel plugins now run before and after the styled-jsx/babel plugin, to workaround vercel/styled-jsx#680 and vercel/styled-jsx#689 . - Temporarily remove size-limit due to ai/size-limit#205 .
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should be optimizing our packages for the most recent version of webpack, which is now v5.
Importantly, it understands the package
exports
field:Also, it doesn't automatically polyfill the Node.js
process
global for the browser. Right now, I'm trying tosize-limit
test a package containing React component code like this:Webpack v4 sees the
process
related code, and inserts a massive./node_modules/process/browser.js
shim that can not be ignored by thesize-limit
configignore
option, because that shim is added by webpack and is not imported anywhere in the code I'm testing.The text was updated successfully, but these errors were encountered: