any staged file will run through prettier automatically with your original settings, i just set the print-width to 120chr. that's where the 62 changed files come from, it fixed format since some where tabs, some spaces, etc.
build supports both esm and cjs, both should be declared properly in package.json
ps. the vercel deployment just needs to target /example now, it will be able to build and update it automatically on every change to the repo.
i left out typescript for now to keep it simple.
to run the example:
cd example npm install (once) npm run dev
any change in ../src/* will hot reload.
any staged file will run through prettier automatically with your original settings, i just set the print-width to 120chr. that's where the 62 changed files come from, it fixed format since some where tabs, some spaces, etc.
build supports both esm and cjs, both should be declared properly in package.json
ps. the vercel deployment just needs to target /example now, it will be able to build and update it automatically on every change to the repo.