简体   繁体   中英

Angular ng build not generating dist folder

I've been working in an angular/ionic project, trying to deploy it to aws using S3 I'm unable to generate the dist folder when running the ng build or ng build --prod command, after many attempts I share my repo with you hoping I can get some help, also there are not errors shown at all in console and build is performed normally in logs.

https://github.com/biherrerap/fda_delivery_master

Thanks in advance for taking the time to read.

In your angular.json you have specified the "outputPath": "www" . so your build is going in a folder called www . if u want it to go on a dist folder change angular.json file.projects->app->architect->build->options->outputPath to 'dist'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM