-
Notifications
You must be signed in to change notification settings - Fork 90
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
Remove the macro-getter #633
base: master
Are you sure you want to change the base?
Remove the macro-getter #633
Conversation
@NullVoxPopuli yeah, I've tried this some time ago in #455 but those macros don't work as template helpers. Wasn't able to look up the root cause |
it looks like you removed |
@NullVoxPopuli I've updated #455 to not remove |
that means its making it to runtime -- it's supposed to be compiled away before the app boots. 🤔 |
right, but it's responsibility of |
could still be both. right now we don't have buildtime dead-branch elimination due to the usage of the getter (unless macros is smart enough to analyze backing JS of co-located components) |
Potential alt for this in #647. I'm having a heck of a time testing this in our app though, which uses npm instead of pnpm. If I take the build output of this and put it in
I have no idea why it's not stripping it out during the build. Is there some flag I need to enable? Is this a bug with |
Potential solution for #594