How to include custom files with angular-cli build?

The “assets” property of angular-cli.json can be configured to include custom files in angular-cli webpack build. So, configure “assets” property value as an array.
For example:

"assets": ["assets", "config.json",".htaccess"],

above configuration will copy config.jon and .htaccess into dist folder during the angular-cli webpack build. above setting worked in angular-cli version 1.0.0-beta.18

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)