📌  相关文章
📜  角度复制文件夹到 dist - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:12.840000             🧑  作者: Mango

代码示例1
// 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": "./" }
],