Skip to content

Conversation

@kettanaito
Copy link
Member

@kettanaito kettanaito commented Apr 27, 2025

The kServers symbol was never shared between HTTP and WS, which resulted in this always yielding undefined:

const servers = Reflect.get(options.server, kServers) as Array<ServerType>

This PR enables code splitting during the build so it abstracts reused buts into a chunk, ensuring the symbol's identity.

@kettanaito kettanaito merged commit 4afbf6c into main Apr 27, 2025
1 check passed
@kettanaito kettanaito deleted the fix/shared-symbols branch April 27, 2025 12:35
@kettanaito
Copy link
Member Author

Released: v0.1.2 🎉

This has been released in v0.1.2!

Make sure to always update to the latest version (npm i @epic-web/test-server@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

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