-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ng build fails to copy .htaccess, and possibly other similarly named files, to the output #1758
Comments
@TheLarkInn Are you not copying dot files over? |
My
EDIT: Hmmm... I've just |
I was having this issue as well and then I realised that I am just being stupid. I was initially running the build process manually and copying a zip of the distribution to the server and unzipping it. Prior to the zip I would copy any other files I needed into the distribution. This is/was a pain to do. However, once I have completed testing something, it gets moved into a git/jenkins scenario which makes life very simple. This is my workflow:
Takes at most two minutes from start to end and to initiate the process is pretty much a: git push upstream master from my local command line. Ideally I would like a method to include the files via ng-cli settings... however, there are simple solutions when you put your mind to it. |
to anyone reading this old thread (as it's the first link showing on a search) |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
.htaccess
file frompublic
folder isn't copied over todist
onng build
The text was updated successfully, but these errors were encountered: