Sign in

sapphi_red

@sapphi.red
1.5K followers 195 following 32 posts

@vite.dev core team member.

PostsRepliesMedia
sapphi_red @sapphi.red · 14/09/2025
Windows users, I have a good news for you. In the next version, Rolldown will become ~10% faster on Windows — even up to 29% faster in some cases! 🚀
Before
```
Benchmark 1: node --run build:rolldown
  Time (mean ± σ):      2.459 s ±  0.042 s    [User: 3.858 s, System: 5.627 s]
  Range (min … max):    2.401 s …  2.509 s    10 runs
```
After
```
Benchmark 1: node --run build:rolldown
  Time (mean ± σ):      1.744 s ±  0.017 s    [User: 3.300 s, System: 3.796 s]
  Range (min … max):    1.720 s …  1.771 s    10 runs
```
Result: -0.72s (-29.1%)
1443
sapphi_red @sapphi.red · 28/08/2025
Did you notice that since Vite 7.1, Vite doesn't spam the console and the network tab with WebSocket errors after the dev server is stopped anymore? 🙂
A screenshot of chrome dev tools with WebSocket errors using Vite 7.0.A screenshot of chrome dev tools without WebSocket errors using Vite 7.1.
2383
sapphi_red @sapphi.red · 19/08/2025
Turns out I can add methods to all modules by modifying the Object prototype on bun 😀 (I won't recommend relying on this though. It's probably violating the spec and you should never modify the Object prototype.)
An image of the following code:
```js
import * as mod from './mod.mjs'

Object.prototype.foo = function () {
  console.log('I can be called from any module')
}

mod.foo() // outputs 'I can be called from any module'
```
1100
sapphi_red @sapphi.red · 19/12/2024
Published the 500th release in vite repository 🫡
Screenshot of the "Releases" section in the vitejs/vite repository on GitHub showing that there's 500 releases.
1772
sapphi_red @sapphi.red · 06/12/2024
Yay! imports field is now a bit easier to write.
070