Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rename type files as lowercase (fixes #4028) #4029

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/vite/client.d.ts
@@ -1,5 +1,5 @@
/// <reference lib="dom" />
/// <reference types="vite/types/importMeta" />
/// <reference types="vite/types/import-meta" />

// CSS modules
type CSSModuleClasses = { readonly [key: string]: string }
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/src/client/client.ts
Expand Up @@ -6,7 +6,7 @@ import {
Update,
UpdatePayload
} from 'types/hmrPayload'
import { CustomEventName } from 'types/customEvent'
import { CustomEventName } from 'types/custom-event'
import { ErrorOverlay, overlayId } from './overlay'
import './env'

Expand Down
2 changes: 1 addition & 1 deletion packages/vite/src/node/build.ts
Expand Up @@ -27,7 +27,7 @@ import { manifestPlugin } from './plugins/manifest'
import commonjsPlugin from '@rollup/plugin-commonjs'
import { RollupCommonJSOptions } from 'types/commonjs'
import dynamicImportVars from '@rollup/plugin-dynamic-import-vars'
import { RollupDynamicImportVarsOptions } from 'types/dynamicImportVars'
import { RollupDynamicImportVarsOptions } from 'types/dynamic-import-vars'
import { Logger } from './logger'
import { TransformOptions } from 'esbuild'
import { CleanCSS } from 'types/clean-css'
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/src/node/index.ts
Expand Up @@ -82,4 +82,4 @@ export type { FSWatcher, WatchOptions } from 'types/chokidar'
export type { Terser } from 'types/terser'
export type { CleanCSS } from 'types/clean-css'
export type { RollupCommonJSOptions } from 'types/commonjs'
export type { RollupDynamicImportVarsOptions } from 'types/dynamicImportVars'
export type { RollupDynamicImportVarsOptions } from 'types/dynamic-import-vars'
Expand Up @@ -36,7 +36,7 @@ interface ImportMeta {
cb: (payload: import('./hmrPayload').ErrorPayload) => void
): void
<T extends string>(
event: import('./customEvent').CustomEventName<T>,
event: import('./custom-event').CustomEventName<T>,
cb: (data: any) => void
): void
}
Expand Down