如何在"ng build"后更改angular-cli中的dist-folder路径

问题描述:

我想在asp.net核心中使用angular-cli,我需要知道如何更改 dist 文件夹

I would like to use angular-cli with asp.net core and I need to know how I can change the path of the dist folder

您可以在.angular-cli.json中更新输出文件夹:

You can update the output folder in .angular-cli.json:

"outDir": "./location/toYour/dist"