Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
TurningCanadian
on April 28, 2021
|
parent
|
context
|
favorite
| on:
Why we switched from Webpack to Vite
For people already on webpack, there's esbuild-loader (
https://github.com/privatenumber/esbuild-loader
)
nailer
on April 28, 2021
|
next
[–]
Ooh next uses webpack right? Might be some free speed. Thanks.
wetmore
on April 28, 2021
|
parent
|
next
[–]
Yes but there are some difficulties you may run into when replacing the default loader nextjs uses, because it includes some custom babel plugins that get blown away when you replace the loader with esbuild-loader.
nailer
on April 28, 2021
|
root
|
parent
|
next
[–]
Thanks for the heads up.
temuze
on April 28, 2021
|
prev
[–]
We recently switched from ts-loader to esbuild-loader. It was super easy and it halved our build time with zero complications. Highly recommend.
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: