ember-cli / ember-cli-deprecation-workflow

MIT License
165 stars 43 forks source link

[3.0] Strip code from production builds #182

Open simonihmig opened 8 months ago

simonihmig commented 8 months ago

With #159 merged, this changes how we bring in the deprecation handling code and the app's config. Previously the broccoli logic in index.js would make sure to not ship that code in prod builds, but this seems to be missing now!

Likely we should update the generated code in app/deprecation-workflow.js to make use of the capabilities of @embroider/macros to do so!