angular web app - include library licenses
问题 I have an angular-cli with many libraries. To include the licenses for these I include all of the LICENSE and package.json files from node_modules in the build. "assets": [ { "glob": "**/package.json", "input": "../node_modules/", "output": "./licenses" }, { "glob": "**/LICENSE*", "input": "../node_modules/", "output": "./licenses" } ] However this adds ~4000 individual files to the output and adds time to the build and upload, and some of the libraries are build/development tools not used in