Skip to content

Not able to set outDir to "../www/" #2006

Description

@crebuh

Please provide us with the following information:

  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

Linux, Ubuntu 14.04.

  1. Versions. Please run ng --version. If there's nothing outputted, please run
    in a Terminal: node --version and paste the result here:

angular-cli: 1.0.0-beta.11-webpack.2
node: 4.4.4
os: linux x64

  1. Repro steps. Was this an app that wasn't created using the CLI? What change did you
    do on your code? etc.

Update apps.outDir to "../www/" in angular.cli.json and execute ng build prod


As described above I'm trying to update the output directory when building the app. I have wrapped a cordova project around the ng2-application so it would be nice to build inside the www-folder (which worked before upgrading to webpack).

Now the build is always played into a dist folder. In addition the www-folder is always deleted, when I start ng build.

Any advice?

edit:

I found an entry in the .ember-cli-file called "output-path" and also set it to "../www/" without success ..

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions