-
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
How to add a file to the build system (dist) folder #2613
Comments
The config key apps.assets accepts an array as of beta.17. You can now do the following.
|
I did try that - but its still not copying it. This is my app.assets: I ran the command Still no web.config in |
Actually - when i make |
Sorry, my fault. It was merged after beta.17 was released. It's currently in master and will be released with beta.18. See: #2570 |
oh - thanks grizzm0. Guess nothing more to do other than to wait for beta.18 :) |
@filipesilva Could you close? |
hey, now apps.assets refer to the ".angular-cli.json" right, if so, I added staticfile.txt in the assets array, but when I run "ng build --prod" command , it didn't create staticfile.txt in the dist folder. |
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. |
Hi!
Can someone please let me know how to add a simple file to the build system in angular-cli. For example, i want to keep a file called
web.config
indist
folder when the build is created. If i simply put it in my /src/ folder, it doesn't get copied. I am using beta.17 version of Angular-cli.Any help will be appreciated :)
The text was updated successfully, but these errors were encountered: