File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
packages/vite/src/node/server Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 55 type DevEngine ,
66 dev ,
77} from 'rolldown/experimental'
8- import type { Update } from 'types/hmrPayload'
98import colors from 'picocolors'
109import getEtag from 'etag'
10+ import type { Update } from '#types/hmrPayload'
1111import { ChunkMetadataMap , resolveRolldownOptions } from '../../build'
1212import { getHmrImplementation } from '../../plugins/clientInjections'
1313import { DevEnvironment , type DevEnvironmentContext } from '../environment'
@@ -72,7 +72,7 @@ export class FullBundleDevEnvironment extends DevEnvironment {
7272 this . logger . info ( colors . green ( `page reload` ) , { timestamp : true } )
7373 } )
7474
75- memoryFiles = new MemoryFiles ( )
75+ memoryFiles : MemoryFiles = new MemoryFiles ( )
7676
7777 constructor (
7878 name : string ,
Original file line number Diff line number Diff line change 1- import type { Connect } from 'dep-types/connect'
21import * as mrmime from 'mrmime'
2+ import type { Connect } from '#dep-types/connect'
33import { cleanUrl } from '../../../shared/utils'
44import type { ViteDevServer } from '..'
55import { FullBundleDevEnvironment } from '../environments/fullBundleEnvironment'
Original file line number Diff line number Diff line change 1- import type { Connect } from 'dep-types/connect'
1+ import type { Connect } from '# dep-types/connect'
22
33/**
44 * A middleware that rejects no-cors mode requests that are not same-origin.
You can’t perform that action at this time.
0 commit comments