Hi folks,
as my Javascript code for the General Javascript View Node gets larger and larger I need to improve my workflow. Editing the code inside of the node is way to fiddling.
What I do is to write the .js Code with VSCode and load the file via a File Reader Node into a flow variable which is then connected to the View Node. I was able to split .js files by using require and define.
Another improvement would be to switch to Typescript.
But I so far I was not able to find a way to generate a single .js file from multiple .ts files which can be then executed by the View node. The generated code includes require and define statements Knime does not accept.
Is this possible, can somebody outline the steps of a setup where the code is developed in Typescript and built to be used in the view node?
Thanks