[email protected] --experimental-cli feedback #17687
ggascoigne
started this conversation in
General
Replies: 1 comment
-
On my end, on a company project: I measured an amazing performance uplift when going to the experimental CLI. Formatting moved from 1min and 10s to 5s without any cache. My only problem is that putting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd expected that adding the
--experimental-cli
flag would generate the same format as without it. So I was surprised that when I ran it on a monrepo with about 1000 files, I got about 100 files with changes.[email protected] and [email protected] give the same output.
with:
[email protected] gives lots of changes.
with things like:
becoming:
and:
becoming:
I have a very simple config (.prettierrc.cjs):
I'm not saying that I particularly mind the changes, though I was used to the previous result, but I didn't expect that changing the flag would have such a side effect.
As for performance, it's massively faster. Previously I ran prettier in each sub package because it was faster that way. That is no longer true.
So the experimental flag is a huge perf improvement and simplifies my setup nicely.
Beta Was this translation helpful? Give feedback.
All reactions