--

Hey Enrico,

This article is primarily for typescript projects because that's my experience.

The creators of Vite recommend using the jsx extension for javascript projects but there is a proposed solution to using .js extension described here: https://github.com/vitejs/vite/discussions/3448

It could be worth trying that one.

Best of luck with it!

dar

--

--

Darragh O Riordan
Darragh O Riordan

Written by Darragh O Riordan

I live and work in Sydney, Australia enjoying the mountains and the ocean. I build and support happy teams that create high quality software for the web!

Responses (1)