AnsweredAssumed Answered

Loading and accessing maven dependency with javascript scripts

Question asked by trmmnt on Jan 13, 2019

Working on a Share extension I am trying to find a way to load and access javascript scripts that are located in maven dependency, for instance some-library-0.2.0.jar wich has following structure:

 

  • /
    • api
      • script1.jar
      • script2.jar
      • scriptN.jar
    • script.min.js

 

It is obvious that maven dependency must be included in share module of AIO extension project. What are next steps to load script.min.js in WebPreview plugin?

 

I am using SDK 2.2.0.

Outcomes