Commit dffbff4
Import Prettier from prettier/standalone (#1024)
The import from `prettier` includes support for all languages supported
by Prettier. The `prettier/standalone` import only includes the core.
The `prettier` export also points to `prettier/standalone` for the
`browser` export condition.
This means that with this change `yaml-language-server` has to load less
code, leading to faster startup time. And depending on configuration, it
may lead to smaller bundle sizes.
Co-authored-by: Muthurajan Sivasubramanian <93245779+msivasubramaniaan@users.noreply.github.com>1 parent 96feb3d commit dffbff4
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments