Closed Neizan93 closed 4 months ago
@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.
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
thanks. I will merge it soon. just need to fix the CI from my side
thanks. I will merge it soon. just need to fix the CI from my side
thank you =)
@Neizan93 , @auvipy Any news?
Great, thank you! @auvipy Can you publish this changes in new lib version?
we got an issue reported here https://github.com/sockjs/sockjs-client/issues/664, can you please fix this? @Neizan93
we got an issue reported here #664, can you please fix this? @Neizan93
just delete package lock and install packages to fix it
Added ESBuild to fix optimization bailouts on TypeScript frameworks like Angular.