-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Increased asset size from -assert-implicit-component-helper-argument
#18598
Comments
Thanks for reporting! @chancancode and I have discussed this a few times, we definitely need to fix it. Now that we are a "real addon", we can actually do the same thing most other addons do RE: template compilation transforms. |
Any examples of how this is done? If this doesn’t require a Rob Jackson or Godfrey level of knowledge I can take a look at it. |
@rwjblue @krisselden did the recent fixes around templates include this? |
@chriskrycho - No, those comparisons are from 3.16 to 3.17 (but 3.16 already included this growth). |
Ah, okay. For our app's sake, we'd still be happy to dig into it if we can steal a tiny bit of your mentoring time sometime Soon™! (It could help us mitigate the other 3.16→3.20 costs as well, even as you're all working on tackling those.) |
Ya, I'd love the help (even if just to force "The Plan" into writing). Let's set up a deep dive session to chat through it when you have time... |
Unconditionally including the
-assert-implicit-component-helper-argument
(added in #17135) in builds can lead to significant increases in code size, especially in large apps with lots of components. Also related: #17251.Given that Ember can now do different template builds for prod and dev, it would be great if we could pull this assertion back out of prod builds!
The text was updated successfully, but these errors were encountered: