Skip to content

outDir config value is ignored in build #2267

Closed

Description

@ErkoKnoll

OS: Win 10
Version: 1.0.0-beta.15

When doing "ng build" then output dir is always generated as "dist" regardless what value is configured in outDir.

Activity

  1. nhodges commented on Sep 23, 2016

    @nhodges

    I am also experiencing this -- seems it is being ignored.

  2. filipesilva commented on Oct 3, 2016

    @filipesilva
    Contributor

    Fixed in #2158

  3. fullstackdave commented on Nov 28, 2016

    @fullstackdave

    Just downloaded the latest version of the CLI and ran into this issue today. Ignores "outDir" and builds to the "dist" folder at the root...

  4. fullstackdave commented on Nov 28, 2016

    @fullstackdave

    This error was caused for me by my addition of multiple SPA app declarations within the angular-cli.json "apps" : [{X},{Y},{Z}]. The CLI only builds the first SPA app in the array, but I had my other apps listed so I could swap them in an out quickly and build them as desired. Once I removed the additional app declarations the build noticed my "outDir" setting. I hope this helps someone.

  5. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  6. locked and limited conversation to collaborators on Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions