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

TypeScript definitions in npm package #17

Open
VityaSchel opened this issue Sep 30, 2024 · 1 comment
Open

TypeScript definitions in npm package #17

VityaSchel opened this issue Sep 30, 2024 · 1 comment

Comments

@VityaSchel
Copy link

Can you publish TS definitions to npm?

@YoavCodes
Copy link
Member

YoavCodes commented Oct 5, 2024

ah my bad. Thanks for filing an issue I wouldn't have realized I broke this. 🌟

I'd been cleaning up what gets published to npm and was experimenting with pre-building the typescript apis for browser and bun processes.

What I really want and had before was just copy the source typescript for those directly to /dist (which goes to npm) so that when you actually run electrobun build for your app it should just import the parts of the api you use into your code and provide all the types as you work.

I think I just fixed/restored that. if you give 0.0.14 a try https://www.npmjs.com/package/electrobun

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

2 participants