Call or include another JS files in JS file created for custom widget
Hi; I am creating a custom widget using NPM. I am able to build and use that widget in another APP. Now I want to customize it further. To achieve desired functionality; I need to make use of functions defined in other set of JS files into custom widget’s JS file. Please suggest a way to achieve this. I have tried “import * as XXX from YYY.js” But I think I am not able to find the correct place to add this statement in custom widget’s JS. On adding it custom widget creation fails. I also tried adding <script> tags in custom widget’s HTML page but it seems that those script tags really dont work when the page is loaded through Mendix APP.