Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Native Vite Support #13767

Closed
Matelasse opened this issue Jun 4, 2020 · 9 comments
Closed

Native Vite Support #13767

Matelasse opened this issue Jun 4, 2020 · 9 comments

Comments

@Matelasse
Copy link

Matelasse commented Jun 4, 2020

Feature request

Is your feature request related to a problem? Please describe.

Dev-server takes tons of time to spin up, making the overall developer experience worse.

Describe the solution you'd like

Vite is a modern alternative for faster dev-server builds.

Describe alternatives you've considered

Next.js could use the inspiration from Vite and provide its own implementation for a fast dev-server.

Additional context

https://github.com/vitejs/vite

@borekb
Copy link
Contributor

borekb commented Jun 16, 2020

This is a great podcast episode about Vite with Evan You, got me thinking whether this could be married with Next.js 😄. Vite's approach sounded really quite "sound".

@rajington
Copy link

Thanks for sharing that podcast, would Vite's use of rollup maybe change how production is built as well? Or maybe something like Snowpack where it's just for dev? There sure are a lot of webpack-based plugins...

@Matelasse
Copy link
Author

@Timer any thoughts regarding this feature request? i love both next.js and vite, and i would love to be able to use them both

@Janpot
Copy link
Contributor

Janpot commented Jul 16, 2020

@Matelasse Did you see #15152 ?

@Matelasse
Copy link
Author

@Janpot I hadn't seen that. Impressive and hopeful. Is there a way to experiment with wp5 before it's default in next?

@Matelasse
Copy link
Author

update:
@Janpot webpack v5 is nowhere close to vite in terms of speed

@capaj
Copy link

capaj commented Aug 10, 2020

why not switch to vite and drop webpack? That would be simpler to support in the future.

@timneutkens
Copy link
Member

timneutkens commented Aug 10, 2020

update:
@Janpot webpack v5 is nowhere close to vite in terms of speed

webpack 5 as of right now is not exactly ready yet. As said in the blogpost caching is not enabled yet.

why not switch to vite and drop webpack? That would be simpler to support in the future.

Vite is in the very early days still. I'd be happy to investigate what it takes for compat and ongoing maintenance for you as part of a support contract, feel free to reach out to enterprise@vercel.com.

@zigomir
Copy link

zigomir commented Feb 20, 2021

How about now when it's stable? :)

@vercel vercel locked and limited conversation to collaborators Feb 22, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants