Search code examples
angularangular-cli

Change the dist-folder path in angular-cli after 'ng build'


In Angular CLI, how I can change the path of the dist folder?


Solution

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

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