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
Originally posted by skulter January 31, 2025
Hello,
I am encountering an issue when compiling my UI component package using Rollup in a Turborepo monorepo setup.
I am using Next.js 15 and compiling the UI package located in packages/ui with Rollup. The basic compilation works fine, but when using rollup-plugin-dts, I get an error related to @tanstack/react-table, stating that the type definitions cannot be found.
Below is the relevant part of my rollup.config.js:
The error suggests that Rollup dts cannot resolve the types from @tanstack/react-table. Is there a way to properly configure Rollup to resolve these types correctly?
Any guidance would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered:
Discussed in #5897
Originally posted by skulter January 31, 2025
Hello,
I am encountering an issue when compiling my UI component package using Rollup in a Turborepo monorepo setup.
I am using Next.js 15 and compiling the UI package located in packages/ui with Rollup. The basic compilation works fine, but when using rollup-plugin-dts, I get an error related to @tanstack/react-table, stating that the type definitions cannot be found.
Below is the relevant part of my rollup.config.js:
Here is my tsconfig.json:
I am using @tanstack/react-table@8.19.3.
The error suggests that Rollup dts cannot resolve the types from @tanstack/react-table. Is there a way to properly configure Rollup to resolve these types correctly?
Any guidance would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: