I have a single page application, and I am using the tomcat rewrite valve to forward all the requests other than static resources to my index.html. Following are the contents of my rewrite.config:
RewriteCond %{REQUEST_URI} (?!.*\.(?:jpg|png|css|js|json|scss|map)$).*$
RewriteRule ^.*$ /index.html [L,QSA]
After getting the rewrite to work, I am seeing that my jQuery library, and other javascript files are loading twice. This is causing the application to break. Could someone point out what could be the potential root cause of this issue?