chore: Update package.json to Node.js version 18.0.0 or higher#1248
chore: Update package.json to Node.js version 18.0.0 or higher#1248stepankuzmin merged 1 commit intomapbox:mainfrom
Conversation
stepankuzmin
left a comment
There was a problem hiding this comment.
Good catch, thanks @varna 👍
|
Note that this requirement is only for local development of |
|
Oh well, then shall we go with I thought |
|
Actually, this project doesn't even really need Node to run. Currently only dependence is probably node test runner. It should be easy to replace it with Vitest. Then you could use this as ES on anything (Node, Bun or Deno). |

#1242 switched project to Vite and ESM. This means that this project currently supports node version
^18.0.0 || >=20.0.0https://vitejs.dev/guide/#scaffolding-your-first-vite-projectBy adding
engines.nodetopackage.jsonwe gain some extra features: