Nate
Nate

Reputation: 7856

Can I change folder of built files using angular-cli

When building an application with angular-cli, it creates a dist folder with four bundled files (polyfills.bundle.js, main.bundle.js, vendor.bundle.js and inline.bundle.js) in its root.

Is it possible to indicate another folder ONLY for these files (e.g. dist/deps/ instead of dist/)?

Upvotes: 0

Views: 63

Answers (1)

Anurag Singh Bisht
Anurag Singh Bisht

Reputation: 2753

If you want to change the output directory from 'dist' to somewhere else, you can do so by changing outDir in the .angular-cli.json

"apps": [
    {
      "root": "src",
      "outDir": "dist/deps",

Upvotes: 2

Related Questions