sockjs-client icon indicating copy to clipboard operation
sockjs-client copied to clipboard

Added esbuild

Open Neizan93 opened this issue 1 year ago • 4 comments

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

Neizan93 avatar Oct 06 '23 07:10 Neizan93

@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 avatar Oct 09 '23 12:10 Neizan93

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

Neizan93 avatar Oct 10 '23 08:10 Neizan93

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

auvipy avatar Oct 14 '23 05:10 auvipy

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

thank you =)

Neizan93 avatar Oct 16 '23 08:10 Neizan93

@Neizan93 , @auvipy Any news?

lagoshny avatar Jul 11 '24 14:07 lagoshny

Great, thank you! @auvipy Can you publish this changes in new lib version?

lagoshny avatar Jul 16 '24 07:07 lagoshny