The more current way of this is to update the outDir property in angular.json(called .angular-cli.json in old Angular CLI versions).
The ng build command argument --output-path (or -op for short) is still supported also, which can be useful if you want multiple values, you can save them in your package.json as npm scripts.
Beware: The
.angular-cli.jsonproperty is NOT calledoutput-pathlike the currently-accepted answer by @cwill747 says. That’s theng buildargument only.It’s called
outDiras mentioned above, and it’s a under theappsproperty.
.
P.S.
(December 2017)
1-year after adding this answer, someone added a new answer with essentially same information, and the Original Poster changed the accepted answer to the 1-year-late answer containing same information in the first line of this one.