Why Nostr? What is Njump?
2024-12-11 15:01:44
in reply to

João Carlos on Nostr: nprofile1q…v5ul8 yeahhhh. Web was forced to create sourcemaps to fix their own ...

yeahhhh. Web was forced to create sourcemaps to fix their own solution.

i was thinking on doing a little hack like copying the 'rescript/lib/es6' folder in to the output directory. But the problem of the import not string not being relative of absolute path is kinda hard to fix. At least without using some preprocessor. And that wouldn't be fast nor fun

Or is it?? What are you using now? Maybe it has a option to just change the import calls from node way to browser way when compiling

But at the same time, i didn't any article talking about this, just the one that you send

[edit]
https://github.com/vitejs/vite/issues/3840
Author Public Key
npub139g5p3f699xf7nhm0tgwxkhygnrj9ngh6j2luj8wj79g87hlj5hs45gqq0