manfredsteyer / ngx-build-plus

Extend the Angular CLI's default build behavior without ejecting, e. g. for Angular Elements
1.19k stars 136 forks source link

Can't add to library - expected node expected node projects/foo/architect/serve in angular.json #393

Closed charlesritchea closed 1 year ago

charlesritchea commented 1 year ago

I need to disable type checking in a library I'm porting from a bespoke webpack system to angular-cli. I can add ngx-build-plus to an application easily enough but when I try to add it to a library I get "expected node projects/foo/architect/serve in angular.json". A library wouldn't have a serve section. Do I need to just stub it out?

charlesritchea commented 1 year ago

for that matter, what builder string do I use? Or is this just not supported?

charlesritchea commented 1 year ago

Nevermind saw https://github.com/manfredsteyer/ngx-build-plus/issues/68