-
Notifications
You must be signed in to change notification settings - Fork 395
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
refactor(macro): split js (core) and jsx (react) macro #1461
refactor(macro): split js (core) and jsx (react) macro #1461
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
size-limit report 📦
|
Looks interesting, but I don't really like the nascence of the new package, can we avoid it? Previously we discussed it and agreed that it was possible |
No. Look at the graph i wrote in the description. Why you so don't like introducing new packages? It's the way how it works. It's internal and nobody should care. |
Sure, I saw the graph. I can't say that I don't like new packages, but I prefer not to introduce new "entities" if possible and there is no urgent need If it's inevitable, it'll be so 🤷♂️ |
The most I worrying here about - is the potential |
There would be no bundle size increase (the macro is not bundled), but installation size of |
931a531
to
06847df
Compare
i don't know why, but i don't like what happened here 😬 We indeed need to split macro for different frameworks, but the idea that all babel dependencies would be installed even if you are not using them makes me nervous. Also i don't understand how we should organize tests in the repo. Now they live in one place, and we have cases where jsx + and js macro tested together. How this should be done after split i don't know. |
Let's postpone it to the future major release (v5 or v6), maybe later we will have a better understanding of how to properly do this |
Will close this PR for now |
#1361
@Martin005 @andrii-bodnar please take a look here. I want to get feedback before i continue.
Overview: