Angular minified javascript is not loading all code

Shivamurthy_MN

11-03-2019

Hello community,

I am trying to move the clientlibs from etc to apps.

Earlier approach to call the clientlibs was direct script injection in the component like

<script type="text/javascript" src="/etc/clientlibs/my-project/component/mycomponent/jslibs.js"></script>.

all was working fine.

After I moved the clientlibs under apps and make a sly call js loads like

etc.clientlibs/my-project/clientlibs/my-project/component/mycomponent.min.ACSHASH24436eac1f3c5be6401c52f956a34f99.js

But this will not get all the script in it. This is the problem.

Meanwhile if i make a script reference to the new location it works fine.

What could be the issue?