Skip to content

Commit 5606b47

Browse files
committed
wip: update
1 parent 4154e1b commit 5606b47

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/vite/src/node/server/environments/fullBundleEnvironment.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import {
55
type DevEngine,
66
dev,
77
} from 'rolldown/experimental'
8-
import type { Update } from 'types/hmrPayload'
98
import colors from 'picocolors'
109
import getEtag from 'etag'
10+
import type { Update } from '#types/hmrPayload'
1111
import { ChunkMetadataMap, resolveRolldownOptions } from '../../build'
1212
import { getHmrImplementation } from '../../plugins/clientInjections'
1313
import { 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,

packages/vite/src/node/server/middlewares/memoryFiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { Connect } from 'dep-types/connect'
21
import * as mrmime from 'mrmime'
2+
import type { Connect } from '#dep-types/connect'
33
import { cleanUrl } from '../../../shared/utils'
44
import type { ViteDevServer } from '..'
55
import { FullBundleDevEnvironment } from '../environments/fullBundleEnvironment'

packages/vite/src/node/server/middlewares/rejectNoCorsRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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.

0 commit comments

Comments
 (0)