react95-io / React95

🌈🕹 Windows 95 style UI component library for React
https://react95.io
MIT License
6.7k stars 187 forks source link

build(themes): add manual fix for themes .d.ts build problem #328

Closed WesSouza closed 2 years ago

WesSouza commented 2 years ago

It seems https://github.com/Swatinem/rollup-plugin-dts doesn't play nicely when using Rollup's dir output option.

This is a proposed hack as a plugin that corrects the code (given there is a broken import) and manually moves the file.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
react95 ✅ Ready (Inspect) Visit Preview Jul 28, 2022 at 0:36AM (UTC)
codesandbox-ci[bot] commented 2 years ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 6c98e937a07d943e709db71e263172575445c9fe:

Sandbox Source
React95 template Configuration
WesSouza commented 2 years ago

Doesn't work, each exported JS file needs its own declaration file.