I am trying to load my external local script that are inside my src/assets/ folder but the js scripts are not being loaded, there is no error in the compilation for Cordova,
if I inspect my view source while running Cordova IOS I see my local external js inside my src/ assets/ folder are not being loaded:
Here a screen shot:
inside my index.html I have
...
<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap: content:">
...
...
<% if (process.env.TARGET === 'cordova') { %>
<script src="cordova.js"></script>
<% } %>
<!-- built script files will be auto injected -->
<script src="assets/circulus/js/Draggable.min.js"></script>
<script src='assets/circulus/js/circulus.js'></script>
</body>
</html>
My Cordova Plugins installed:
is this because Webpack during installation?
I run this in the console to build cordova ios www folder:
npm run build-dev-cordova-ios
cordova run ios
previously I was not having this issue to load my local scripts!
any ideas?