b369ccfcf4
### What Transpile `geist` package by default. Currently users need to add `geist` into `transpilePackages` to make it work with pages router as it's external packages but require transform. This PR will resolve that issue. cc @JohnPhamous ### Why geist package is using `next/font` which requires to work with SWC transform. But so far only ESM syntax can be captured by SWC since CJS is pretty difficult to cover as the package import is not statically analyzable. We introduced a new list that it could be transpiled and include geist package into bundle. Add it in both `next/jest` side and webpack/turbopack bundling side --------- Co-authored-by: 강동윤 (Donny) <kdy1997.dev@gmail.com> |
||
---|---|---|
.. | ||
_app.js | ||
foo.js |