Skip to content

Conversation

@fvsch
Copy link
Owner

@fvsch fvsch commented Dec 12, 2024

From the start of this package, I had the intention of maybe adding a JS API, and had created an empty lib/index.js module referenced in package.json.

I've done some work along those lines, but it's not ready for 0.5, and I don't think advertising an entry point that doesn't export anything is a good thing.

This is technically a breaking change because before this change you could do:

import "servitsy";
import * as servitsy from "servitsy";

and now these might result in errors in some runtimes?

@fvsch fvsch merged commit 69b116c into main Dec 12, 2024
3 checks passed
@fvsch fvsch deleted the fvsch/remove-empty-entrypoint branch December 12, 2024 10:17
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

Successfully merging this pull request may close these issues.

2 participants