We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
env.init
env.listen
1 parent ed33801 commit a652589Copy full SHA for a652589
packages/vite/src/node/server/environments/rolldown.ts
@@ -171,6 +171,10 @@ class RolldownEnvironment extends DevEnvironment {
171
assert(this._pluginContainer)
172
this._pluginContainer.buildStart = async () => {}
173
this._pluginContainer.close = async () => {}
174
+ }
175
+
176
+ // delay build till listen since some plugins expect `configureServer` before build
177
+ override listen: DevEnvironment['listen'] = async () => {
178
await this.build()
179
}
180
0 commit comments