How sling add script js included in JSP
Suppose I am having one component which is having one jsp file and that jsp file having code like
<script type="text/javascript" src="js/inline/polyfills.bundle.js">
how sling will get the js file ....it is taking by default libs/somefolder/js/inline/polyfills.bundle.js.....
bt if i have made chnages in polyfills.bundle.js and overlay the modes from libs to apps like apps/somefolder/js/inline/polyfills.bundle.js .
at run time sling will pick app js as we know sling will search first in libs then it ll look into libs ......but in my case it is taking from libs only after doing that as well.
What I am doing wrong here any idea ?