You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can specify your own esbuild plugins with #2991, released in v2.3.0.
These plugins are not applied during build (only dep scan and optimisation), so you will have to create both an esbuild & Vite/rollup entry if you need certain behaviour in both cases.
We can continue the discussion about pre-dep-optimization Vite hooks in #3124.
In
vite optimize
the transform hook will not be called.So the commonjs file will not be transformed.
Can vite apply transform hooks in optimize ?
The text was updated successfully, but these errors were encountered: