Open vieira opened 4 months ago
This might be related to the upgrade to ncc
. I was surprised to find it there because we have a circular dependency:
webpack-asset-relocator-loader
depends on ncc
ncc
depends on webpack-asset-relocator-loader
I was forced to upgrade ncc in this repo since it was using a really old version that didn't support newer Node.js versions.
@guybedford Do you recall why ncc is needed? Can we drop it?
Thank you! Downgrade to @vercel/webpack-asset-relocator-loader 1.7.3 fix this for me, thank you for posting this issue so I can google here!
After updating from
@vercel/webpack-asset-relocator-loader
1.7.3 to 1.7.4 the build still succeeds but the generated bundle now fails to start with the following error:Relevant webpack configuration:
Downgrading to 1.7.3 fixes the issue, without any other changes.