angular copy folder to dist

Solutions on MaxInterview for angular copy folder to dist by the best coders in the world

showing results for - "angular copy folder to dist"
Gaëlle
22 Jan 2017
1// Copy files from a location relative to the project's root to relative of the build output folder
2// In the example below I am copying all files from myfolder to the root dist folder.
3// For angular < 9 : angular-cli.json, for > 9: angular.json
4
5"assets": [
6   { "glob": "**/*", "input": "./assets/", "output": "./assets/" },
7   { "glob": "favicon.ico", "input": "./", "output": "./" },
8   { "glob": "**/*", "input": "../myfolder", "output": "./" }
9],
10