You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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