I am gulp-useref in our project, but when I combine all the scripts that are referenced in index.html, it does not work (application could not initialize properly, and thus cannot see login page)
After this, I use gulp-concat to combine the few files generated from above, and update the reference in index.html, and worked... but I wonder why... I want to do it in one step... anyone also encountered this?
I am gulp-useref in our project, but when I combine all the scripts that are referenced in index.html, it does not work (application could not initialize properly, and thus cannot see login page)
//this results in error when loading index.html
// the following works when I generate a few files instead of just one
After this, I use gulp-concat to combine the few files generated from above, and update the reference in index.html, and worked... but I wonder why... I want to do it in one step... anyone also encountered this?