-
Notifications
You must be signed in to change notification settings - Fork 29
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
Make --split
(-s
) the default behaviour
#74
Comments
There are two approaches that we could take here: Add inversion to
|
Removing the 0.1 milestone since this will be a longer-term project. The first phase however is going into 0.1 (see PR above) |
In my opinion, since the release state of the project isn't >= 0.1 yet and we are in this phase of fast iterative development, we can safely implement these breaking changes without much concern. We are converging on some foundational implementations and rightly so at the beginning of the project. Essentially, I think it's better to get things done earlier in this phase than deprecate and wait. |
I agree with @LePips. It's in a pre-release state. You should be able to freely introduce breaking changes. The initial set of options was added without much consideration for how they all fit together or any long term vision. The main focus was on getting the generation working and covering as many specs as possible. |
Thanks @LePips, @kean.. Yeah that makes sense, I think I am being too cautious for our current situation 😄 I'll switch straight to |
Background
Description
Bundling everything into just Paths.swift and Entities.swift prevents the compiler from parallelising build tasks and results in bad compile times for larger projects.
Therefore bundling the source has little advantage compared to splitting into individual files (
--split
) so we should make this the default.We're not ready to remove the option completely, likely we'll replace it with something like
--no-split
or--merge
but we should put less emphasis on it.The one time that I've found it useful is for predicting the output sources so that we can make efficient
BuildToolPlugin
's. But in the long run, I want to explore ways to break out the evaluation from the generation so that we could compute this ahead of time... Maybe..The text was updated successfully, but these errors were encountered: