Add changelog
This commit is contained in:
1 parent
0c136da77d
commit
0549e3c562
1 file changed
+15
@@ -0,0 +1,15 @@
|
||||
#### Support experimental CLI (#17151 by @fisker)
|
||||
|
||||
You may already heard or used our new [performance improved CLI](https://prettier.io/blog/2023/11/30/cli-deep-dive). From prettier main, you can use it without installing unstable v4 version.
|
||||
|
||||
1. Install `@prettier/cli` package
|
||||
|
||||
```sh
|
||||
yarn add prettier @prettier/cli --dev
|
||||
```
|
||||
|
||||
1. Run Prettier with environment variable `PRETTIER_EXPERIMENTAL_CLI=1`
|
||||
|
||||
```sh
|
||||
PRETTIER_EXPERIMENTAL_CLI=1 prettier . --check
|
||||
```
|
||||
Reference in new issue
Block a user