Are you trying to transpile a local package or an npm package?
If an npm package, which one?
ant-mobile
Describe the bug
A clear and concise description of what the bug is (please include logs from your terminal with debug enabled).
const withTM = require('next-transpile-modules')(['antd-mobile']);
To Reproduce
Steps to reproduce the behavior (a reproduction is even better):
ant-mobile includes the third-party package @react-spring/web, but next-transpile-modules did not find the correct package address under the management of the pnpm package, so it was not compiled, and Npm/Yarn would not
Expected behavior
A clear and concise description of what you expected to happen.
Setup
Debug logs (optiona)
If the bug is related to compilation issues, please include a debug log (cf. README).
Additional context
Add any other context about the problem here.
Are you trying to transpile a local package or an npm package?
If an npm package, which one?
ant-mobile
Describe the bug
A clear and concise description of what the bug is (please include logs from your terminal with debug enabled).
To Reproduce
Steps to reproduce the behavior (a reproduction is even better):
ant-mobile includes the third-party package @react-spring/web, but next-transpile-modules did not find the correct package address under the management of the pnpm package, so it was not compiled, and Npm/Yarn would not
Expected behavior
A clear and concise description of what you expected to happen.
Setup
Next.js version:
next-transpile-modulesversion:Node.js version:
npm/yarnversion:Operating System:
Webpack 4 or 5:
"next": "^12.3.3",
"pnpm": 8.5.1
Debug logs (optiona)
If the bug is related to compilation issues, please include a debug log (cf. README).
Additional context
Add any other context about the problem here.