Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(schematics) - Set: "defaultConfiguration": "production". Add OnPush on feat component if required #87

Open
bjornharvold opened this issue Aug 29, 2021 · 1 comment

Comments

@bjornharvold
Copy link

As default Angular CLI already does this, I'd like to ask that the DDD plugin does the same so we don't have to go in and edit angular.json every time.

  • create libraries with defaultConfiguration set to production
  • Add OnPush on dynamically generated feature if angular.json indicates that OnPush is the default strategy.

Thank you

@manfredsteyer
Copy link
Contributor

For this, the feature generator needed to delegate to the component generator/schematic and then update the generated files accordingly. It's not on my roadmap but feel free to provide a PR.

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

No branches or pull requests

2 participants