-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
CLI 3.0 build size | Typescript vs ES6 #981
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
Comments
Does that inlcude the option for That adds an additional lib to the bundle, plus boilerplate for the tranpiled decorator & class syntax effectively. PS: Had you provided a repository with the exact project your created, I would not have to ask. |
Yes, it does (select everything).
You're right, but you can also admit that if you use yarn (cache) it will take you less time to test all options than me to create all repos as they are just the default CLI create command.
In fact creating a test for this wouldn't be that dumb ;) for future
analyses.
|
You can certainly look at it this way, but that view is a bit too narrow for me:
To put it a bit bluntly: If setting up a small reproduction isn't worth your time, the issue can't be that important to you (and probably anyone else), so we probably can ignore it and invest the limited time and resources we have into issues that are set up in a way that allows us to quickly solves them and improve the project we work on for free. Your issue right here is by far not the worst example of this, mind you, but we have rules for a reason. and putting cheeky messages about how the rules don't apply to your issue in a fake reproduction link isn't really helping. I think this can be closed. |
@LinusBorg I perfectly understand your point of view and respect all the work and effort you put into the project. Now:
This issue was merely to point the fact, that following my exact steps, the bundle sizes where different and there might or might not be something to investigate. Don't take it personally, but you just went way out of your way to explain something to me that makes 0 progress in any way to this issue or to the project. But I appreciate the time you took and read your words properly. And I note that the next time, I'll provide you the necessaries because it's what you require. Now, you can leave this closed (in fact you should), I'm way too busy for this, living on the same time zone as you, look at when I replied to you. Or/And you can put this conflict aside, and create a new issue as enhancement to follow the bundle sizes progress as an enhancement. Thanks for your work and dedication anyway. A great day to you, best regards, |
Version
3.0.0-beta.6
Reproduction link
https://jsfiddle.net/50wL7mdz/184064/
Steps to reproduce
Create 2 vue projects.
Project A (vue create vue-cli-ts):
Project B (vue create vuecli-no-ts) :
What is expected?
Builds shouldn't be extremely different in size. (There will always be a margin -> TS transpilation to JS)
What is actually happening?
There is more than 30% size increase for TS based vendor bundle.
There is more than 10% size increase for TS based app bundle
Project A (vue-cli-ts)
Project B (vuecli-no-ts)
Notes:
Leaving this issue here to be get more info and test later on.
The text was updated successfully, but these errors were encountered: