Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DTS fails when building library containing scss modules #1112

Open
mayank1513 opened this issue Apr 26, 2024 · 0 comments
Open

DTS fails when building library containing scss modules #1112

mayank1513 opened this issue Apr 26, 2024 · 0 comments

Comments

@mayank1513
Copy link

mayank1513 commented Apr 26, 2024

I am creating a turborepo setup for crafting and publishing react libraries. Everything works very well. However, when I turn on dts, it starts throwing errors

error TS6054: File 'C:/..../bars2.module.scss' has an unsupported extension.

Reproduction -
clone following code https://github.com/react18-tools/turborepo-template/tree/rewrite

git clone https://github.com/react18-tools/turborepo-template -b rewrite

Install dependencies and build the lib

pnpm i
pnpm build --filter @repo/ui

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant