You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tracked this down to something in the SWC minifier - as demonstrated on the fixed branch of the w3ui-swc-minify-bug repo the issue goes away if you disable SWC minification:
If I use
UploaderProvider
in a Next.js application it works fine in dev mode but breaks the app in production.A very simple demonstration of this issue can be found in https://github.com/web3-storage/w3ui-swc-minify-bug - simply clone the repo and run
npm install && npm run build && npm start
to see the error.I've tracked this down to something in the SWC minifier - as demonstrated on the
fixed
branch of thew3ui-swc-minify-bug
repo the issue goes away if you disable SWC minification:https://github.com/web3-storage/w3ui-swc-minify-bug/tree/fixed
I don't think there's anything for us to do about this - creating this issue to track the bug I'm about to file in the Next.js repository.
The text was updated successfully, but these errors were encountered: