File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
packages/vite/src/node/server Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -977,10 +977,12 @@ export async function _createServer(
977977 if ( initingServer ) return initingServer
978978
979979 initingServer = ( async function ( ) {
980- // For backward compatibility, we call buildStart for the client
981- // environment when initing the server. For other environments
982- // buildStart will be called when the first request is transformed
983- await environments . client . pluginContainer . buildStart ( )
980+ if ( ! config . experimental . fullBundleMode ) {
981+ // For backward compatibility, we call buildStart for the client
982+ // environment when initing the server. For other environments
983+ // buildStart will be called when the first request is transformed
984+ await environments . client . pluginContainer . buildStart ( )
985+ }
984986
985987 // ensure ws server started
986988 if ( onListen || options . listen ) {
You can’t perform that action at this time.
0 commit comments