Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
The current Angular CLI doesn't properly resolve project specific schematic defaults if the project is not passed to the command, but rather the default project is just being used.
Several users reported this for Nx when they had SCSS configured for a given app, but still plain
cssfiles were generated.Example
angular.json:As can be seen, the
demoappusesIf you use
ng g c test --project=demoapp, everything works just fine and ascssfile will be generated. Instead if you runng g c test, then the schematic defaults are not being used.