Skip to content

Environement files generated twice when changing sourceDir parameter #530

Description

@maxailloud

Hi there,

After sawing this Pull Request #412 I wanted to give it a try.
So I made a change in my angular-cli-build.js file:

/* global require, module */varAngular2App=require('angular-cli/lib/broccoli/angular2-app');module.exports=function(defaults){returnnewAngular2App(defaults,{vendorNpmFiles: [],sourceDir: 'src'});};

Just added the sourceDir parameter.

It's working great, now I don't have the client folder that I was useless to me.
But the environement.js file is still copied in the build/client/app folder.
So I end up having 2 environement.js file, in the right folder build/appand in the wrong, that should not exist, folder build/client/app/.

FYI:

Mac OSX El Capitan
angular-cli: 0.0.33
node: 5.0.0
os: darwin x64

Activity

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

Metadata

Metadata

Assignees

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