无法找到生成生成的文件夹

时间:2019-03-11 07:22:00

标签: angular7 ng-build

E:\ Project1 \ gui> ng build --configuration = staging --output-path =“ \ artifacts \”

staging": {   "fileReplacements": [  
        {  
            "replace": "src/environments/environment.ts",  
            "with": "src/environments/environment.staging.ts"  
        }
    ]
}

当我运行上述代码时,有人可以告诉我在哪里创建构建吗?

1 个答案:

答案 0 :(得分:0)

它位于项目根目录的 dist 文件夹中。

更新:

如果将其更改为

ng build --configuration=staging --output-path="artifacts"

然后应在根目录下的dist文件夹旁边创建它,希望有帮助

相关问题