Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is vite required? #148

Open
felixf4xu opened this issue Mar 31, 2024 · 1 comment
Open

Is vite required? #148

felixf4xu opened this issue Mar 31, 2024 · 1 comment

Comments

@felixf4xu
Copy link

Hi,

I checked all the typescript templates, all of them have a vite.config.ts file, I'm curious to know if vite is required to run?

What if I use tsc to compile and load the generated js file to html?

@ryansolid
Copy link
Member

All these templates are built on Vite. This gives the benefit of bundling. TS only transforms to JS. Which would need an additional step of transforming our JSX using Babel as well. It's doable, but this basically what Vite does. And gives you access to their whole ecosystem of plugins.

You don't have to use Vite to use Solid, but all our starter templates do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants