Is there any official work around to override 7.4's portlet js files?

旻 吴, modified 5 Months ago. Junior Member Posts: 57 Join Date: 5/17/17 Recent Posts

Hello,

We are seeking for some official work around to override LF7.4's portlet javascript files, especially those written in ES6 with react. What we are expecting is somthing like Overriding Liferay DXP's Default YUI and AUI Modules in the old versions.

Indeed it is possible to apply jspackage.replaceJSModule() on the destinate portlet's npm modules with some tricky overriding modules created by liferay-npm-bundler, through NpmRegistry service, but this approach is far from perfect.

Is there any hint for this topic? Thank you very much.