You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a very strange problem that I'm unable to track down. When building a dist version (grunt build:dist or grunt serve:dist) the index.html gets injected with the vendor and app minified files, but also with all the debug files between and tags.
The strangest thing is that it happens randomly, without any clue about when it's going to fail. I've tried with a clean index.html file direct from the yeoman output, and it also fails sometimes.
I've found the problem!
I'm on a Windows machine, and git is converting the EOL format in index.html from LF to CR+LF.
I've checked it and it only fails when the file has CR+LF, so there is a problem in the injector task. Now I know how to solve it, buy maybe the grunt task can be patched to work correcty with both LF and CR+LF formats. Any clue where to look for?
Hi,
I have a very strange problem that I'm unable to track down. When building a dist version (grunt build:dist or grunt serve:dist) the index.html gets injected with the vendor and app minified files, but also with all the debug files between and tags.
The strangest thing is that it happens randomly, without any clue about when it's going to fail. I've tried with a clean index.html file direct from the yeoman output, and it also fails sometimes.
Any clue about what could be happening?
The text was updated successfully, but these errors were encountered: