When running in production mode, my files must be served from the dist
folder. However, my node_module
folder is located outside of the dist
folder.
If I include
<script src="node_modules/jquery/jquery.min.js" />
in the index.html
, it cannot find the file because I am serving my files from the dist
folder. Additionally, importing jQuery in the vendor.ts
does not resolve the issue.
Is there a way to make it work without relying on the script tag within the index.html
?