Open lacolaco opened 5 years ago
+1 -- do you know, is there a way to tell ng add that a lib shall be added to the devDependencies
?
workaround:
yarn add -D ngx-build-plus
ng add ngx-build-plus
@manfredsteyer https://github.com/angular/angular-cli/pull/15815
From v9, ng-add
supports adding a package to devDependencies
.
🎉
Currently,
ng add ngx-build-plus
command addsngx-build-plus
package intodependencies
in package.json.I think it will be better that adds it into
devDependencies
becausengx-build-plus
is not needed in runtime.