On ഞാ, ഫെബ്രു 26 2023 at 02:24:00 രാവിലെ
+05:30:00 +05:30:00, Nilesh Patra <nil...@debian.org> wrote:
On Sun, Feb 26, 2023 at 12:46:15AM +0530, Pirate Praveen wrote:
Thanks for the pointer. However, unfortunately even after propagating
the "-t" flag with coffee, the generated code does not work to fine
(the
UI is not functional).
For now I have vendored coffee1 generated code itself. Do you have any
other ideas?
I can see we are using rollup to generate iife format files, which may
not be what npm dist tarball ships.
https://salsa.debian.org/js-team/node-sockjs/-/blob/master/debian/rules#L8
Upstream directly uses the output from coffee
https://salsa.debian.org/js-team/node-sockjs/-/blob/master/Makefile#L9
You could play around with rollup output format options I think. Try
umd format or try using webpack. You will have to inspect the npm dist
tarball to see what format it has. Copying Akshay if he has some ideas.