by napa15 · 9y ago · 0 comments
rm /home/pc/node/lib/node_modules/bs-platform/bin/refmt.exe
ln -s /home/pc/node/bin/refmt /home/pc/node/lib/node_modules/bs-platform/bin/refmt.exe
Is there no source map support? Also: I have to set up requirejs myself to make Reason code work in the browser? Not only that, it doesnt seem like the whole "each file is a module" system is actually codified in the output. I see no require calls that would indicate the right loading order for my generated .js files.
Generated code has weird comments in it like /* Facebook / and / Instagram */
Can you give an example of 'I see no require calls'? Require or import calls should be generated correctly.
Yes, I forgot about bundling, sorry, but if you are in debug mode you're not minifying the bundle JS anyway so whatever you're looking at should still look a fair bit like the input Reason, especially because the names are only minimally mangled.