rsnext/test/e2e/transpile-packages/npm
Jimmy Lai 6d2df8636a
build: don't error when bundling optional peer deps (#57073)
This PR adds a resolver plugin to verify during bundling that when a module is unresolved, that it is not an optional peer dependency specified in the package.json of the caller. An error would happen if you try to bundle packages like `typeorm` since there are `require` calls in the code to those dependencies.

Also, swallow dynamic dependencies warnings in `require` calls error if they come from `node_modules`. They are not actionable at all generally.
2023-10-20 00:57:06 +00:00
..
app build: don't error when bundling optional peer deps (#57073) 2023-10-20 00:57:06 +00:00
node_modules_bak build: don't error when bundling optional peer deps (#57073) 2023-10-20 00:57:06 +00:00
pages Fix CSS handling rules (#42615) 2022-11-09 16:28:48 -08:00
next.config.js Move transpilePackages out of experimental (#44194) 2022-12-20 17:27:30 +00:00