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
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too