In using angular-cli and ng build to build my project, I have a couple of questions.
The container that I'm running the angular screen in I need to put a prefix in front of the src tags in the script tag. so src="styles.bundle.js" needs to be src="/my/prefix/styles.bundle.js". Is there a way to do this command line, and not a manual edit? I tried to set the base href, but that did not seem to help.
If I have no production specific environment changes, is there any difference between dev & production builds.
Working well for us using this
ng build --deploy-url=prefixfolder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With