angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Copy static file in Root during 'ng build'

Open masaanli opened this issue 9 years ago • 2 comments

Please provide us with the following information:

I have a file called 'web.config' and now I added it to the Root of my application so in /app/src/web.config.

now when I make an build trough 'ng build --target=production --environment=prod' it's not adding the web.config to the root of the dist folder.

How can I achieve this?

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Mac OSX

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here: 22-1

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc. ng build --target=production --environment=prod

The log given by the failure.

Normally this include a stack trace and some more information. no logs.

Mention any other details that might be useful.


Thanks! We'll be in touch soon.

masaanli avatar Dec 29 '16 09:12 masaanli

Try play with project-assets.

rxjs-space avatar Dec 29 '16 09:12 rxjs-space

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.