Hello,
Per my management instruction I was asked to create a custom Oracle JET component... so I figured out by looking at existing components at debug library... Finally I got a working version of my custom component.. something similar to:
oj.__registerWidget("oj.unoWidget", $['oj']['baseComponent'],
{
/// Some input options and logic here
})
Everything works great for me when running JET with debug library setup:
requirejs.config(
{
paths: {
//Some other dependencies
"ojs": "libs/oj/v2.0.0/debug" ,
}
})
However when switching to minified version of Oracle JET... the methods does not have same name... ie: oj.__registerWidget
Question is... what is the best way to package my custom component with minified version ?
Should I minify it myself ? ... if so... should I minify the debug version of code ? (which I don't think it is best idea... since I suspect debug has more stuff that I won't need on a production environment )
Thanks in advance
Daniel