I have raised a youtrack ticket [<https://youtrack...
# javascript
d
I have raised a youtrack ticket [https://youtrack.jetbrains.com/issue/KT-47200] regarding JsExport and an alternative mechanism to export. I would be grateful to anyone who can help.
👀 1
🙌 1
b
We would be happy to see more details about use cases (asked in the issue)
d
I have done most of the work, a pull request is nearly ready. However, I need to talk to someone who knows the code base, regarding DCE.
b
Feel free to ask your questions here or there 🙂
d
Hi, I asked there, but go no answer, so I am asking here also. My problems are: • Unsure how to test/debug it. I can't find any tests for the relevant bits of code. I'm sure they exist but I have not figured out where they are. • I am unable to get "println" output to be displayed when I execute my own built version as the compiler runs in a separate process to the gradle build. A pointer here would help me with the debugging. • I am uncertain if this is the only or correct place to do the test. I wonder if my declarations are being eliminated as 'dead' declarations by the DCE even though marked as should-be-exported.
@bashor? are you able to help on any of the above?
b
@Dave sorry for the delay, I’ve answered in the issue.