solidjs/templates

npm run dev gives vitejs warning

alarbada opened this issue · 2 comments

The template is for ts-tailwindcss

The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.

I got it for the js template too. Fix is to add "type": "module", to package.json.