Raise your Yeoman web application with gulp-angular .
My gulp build process outputs a dist/index.html file that references resources using relative paths:
<html> <head> ... <link rel="stylesheet" href="styles/vendor-f57bbe49.css"> <link rel="stylesheet" href="styles/app-a0b8907b.css"> </head> <body> ... <script src="scripts/vendor-a30f25be.js"></script> <script src="scripts/app-b7f411d9.js"></script> </body> </html>
How to force Gulp to use absolute paths instead?
eg. /scripts/ instead of scripts/ and /styles/ instead of styles/
Here is an excerpt of my current src/index.html :
<html> <head> ... <link rel="stylesheet" href="app/vendor.css"> </head> <body> ... </body> </html>
source share