Why is prettier-atom so slow on large .svelte files?

Clone and install:

git clone git@github.com:severo/atom_prettier_svelte.git
cd atom_prettier_svelte
yarn

Install Atom and Prettier for Atom.

Open each of the src/ files in Atom, and try to save them:

Note that the CLI is instantaneous:

npx prettier --write src/*

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes