How can i use third party JS files and load those inside my JET Custom Component?
Summary:
Content (required):
I tried following the blog and am successful in creating a basic Web Component. (https://blogs.oracle.com/groundside/post/custom-jet-component-learning-path)
So I tried to play around and had a requirement to use a third party node module (monaco-editor) in the Web Component.
After doing a npm install into the root -> node_modules and making an entry in path_mapping I am able to use the library in my view-model of web component as well.
But when I take a zip export of only the web component and try to use it outside (in a VBCS app) it errors, rightly so as it could not find the required dependencies.
Tagged:
0