📅  最后修改于: 2022-03-11 15:02:12.840000             🧑  作者: Mango
// Copy files from a location relative to the project's root to relative of the build output folder
// In the example below I am copying all files from myfolder to the root dist folder.
// For angular < 9 : angular-cli.json, for > 9: angular.json
"assets": [
{ "glob": "**/*", "input": "./assets/", "output": "./assets/" },
{ "glob": "favicon.ico", "input": "./", "output": "./" },
{ "glob": "**/*", "input": "../myfolder", "output": "./" }
],