A Rollup plugin that consolidates a Typescript project into a single TS file for easy sharing with ChatGPT.
- star 数
- 4
- watcher 数
- 1
- fork 数
- 0
- issue 数
- 0
- 最終更新
- 2026/06/10
A Rollup plugin that consolidates a Typescript project into a single TS file for easy sharing with ChatGPT.
JUST TESTING AN IDEA!
Want to kick it around with me? Start a discussion!
Think I should build it? STAR THE REPO!
More and more often, I find myself sharing Typescript code with ChatGPT in order to kick around an idea.
Since I write modern, tree-shakable code, most of my projects have a LOT of source files, so this can be a real pain!
I use Rollup to build my projects, so I thought it would be cool to add a build output that consolidates all my Typescript into a single file without transpiling it to JS. Bit it turns out Rollup doesn't natively support that.
Opportunity knocks! 💡
The idea is to create a Rollup plugin that...
Here's an exploration of the idea with ChatGPT o1-mini.
Should I build it? STAR THE REPO to vote YES!
Built with ❤️ on Bali! Find more great tools & templates on my GitHub Profile.