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

Added esbuild #635

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Added esbuild #635

wants to merge 3 commits into from

Conversation

Neizan93
Copy link

@Neizan93 Neizan93 commented Oct 6, 2023

Added ESBuild to fix optimization bailouts on TypeScript frameworks like Angular.

Copy link

@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please share more context about the change requested?

@Neizan93
Copy link
Author

Neizan93 commented Oct 9, 2023

@auvipy it is the ECMAScript Module build with TypeScript types.
It is a simple PR to avoid the Angular (and other frameworks) message: "CommonJS or AMD dependencies can cause optimization bailouts" adding the package 'esbuild' with the generated build and types.d.ts for TypeScript usage.

@Neizan93
Copy link
Author

Neizan93 commented Oct 10, 2023

To anyone that needs SockJS Client with TypeScript, Angular or ES Module (ECMAScript Module) y created the package:
https://www.npmjs.com/package/@tr0n0s/sockjs-client

@auvipy
Copy link

auvipy commented Oct 14, 2023

thanks. I will merge it soon. just need to fix the CI from my side

@Neizan93
Copy link
Author

thanks. I will merge it soon. just need to fix the CI from my side

thank you =)

Copy link

@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please add some tests to verify the proposed changes?

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.

None yet

3 participants