SYMBOL INDEX (2250 symbols across 476 files) FILE: docs/.vitepress/config.ts function inlineScript (line 78) | function inlineScript(file: string): HeadConfig { method transformHead (line 497) | transformHead(ctx) { method root (line 533) | root(hast) { method config (line 550) | async config(md) { FILE: docs/.vitepress/inlined-scripts/banner.d.ts type Window (line 1) | interface Window { FILE: docs/.vitepress/theme/composables/sponsor.ts type Sponsors (line 10) | interface Sponsors { function toggleDarkLogos (line 51) | function toggleDarkLogos() { function useSponsor (line 66) | function useSponsor() { function mapSponsors (line 96) | function mapSponsors(sponsors: Sponsors): SponsorTier[] { function mapImgPath (line 125) | function mapImgPath(sponsors: Sponsor[]) { FILE: docs/.vitepress/theme/index.ts method Layout (line 17) | Layout() { method enhanceApp (line 22) | enhanceApp(ctx: any) { FILE: docs/.vitepress/theme/live/useYoutubePlayer.ts type YoutubeState (line 3) | type YoutubeState = 'play' | 'pause' | 'end' | 'buffer' | 'unstarted' | ... type YoutubePlayerState (line 5) | interface YoutubePlayerState { constant STATE_BY_CODE (line 9) | const STATE_BY_CODE: Record = { FILE: docs/_data/acknowledgements.data.ts type PackageJson (line 59) | interface PackageJson { type Dependency (line 74) | interface Dependency { type PastDependency (line 84) | interface PastDependency { type AuthorPackage (line 90) | interface AuthorPackage { type Author (line 95) | interface Author { type AcknowledgementsData (line 102) | interface AcknowledgementsData { function parseBundledDependenciesFromLicense (line 113) | function parseBundledDependenciesFromLicense(licensePath: string): strin... function normalizeRepository (line 128) | function normalizeRepository( function normalizeFunding (line 161) | function normalizeFunding(funding: PackageJson['funding']): string | und... function parseAuthor (line 172) | function parseAuthor(author: PackageJson['author']): { function readPackageInfo (line 195) | function readPackageInfo( function groupByAuthor (line 221) | function groupByAuthor(dependencies: Dependency[]): Author[] { function loadData (line 266) | function loadData(): AcknowledgementsData { method load (line 316) | load(): AcknowledgementsData { FILE: docs/_data/blog.data.ts type Post (line 3) | interface Post { method transform (line 17) | transform(raw): Post[] { function formatDate (line 30) | function formatDate(raw: string): Post['date'] { FILE: packages/create-vite/__tests__/cli.spec.ts constant CLI_PATH (line 7) | const CLI_PATH = path.join(import.meta.dirname, '..') FILE: packages/create-vite/src/index.ts type ColorFunc (line 61) | type ColorFunc = (str: string | number) => string type Framework (line 62) | type Framework = { type FrameworkVariant (line 68) | type FrameworkVariant = { constant FRAMEWORKS (line 76) | const FRAMEWORKS: Framework[] = [ constant TEMPLATES (line 385) | const TEMPLATES = FRAMEWORKS.map((f) => f.variants.map((v) => v.name)).r... function run (line 396) | function run([command, ...args]: string[], options?: SpawnOptions) { function install (line 409) | function install(root: string, agent: string) { function start (line 423) | function start(root: string, agent: string) { function init (line 435) | async function init() { function formatTargetDir (line 700) | function formatTargetDir(targetDir: string) { function copy (line 707) | function copy(src: string, dest: string) { function isValidPackageName (line 716) | function isValidPackageName(projectName: string) { function toValidPackageName (line 722) | function toValidPackageName(projectName: string) { function copyDir (line 731) | function copyDir(srcDir: string, destDir: string) { function isEmpty (line 740) | function isEmpty(path: string) { function emptyDir (line 745) | function emptyDir(dir: string) { type PkgInfo (line 757) | interface PkgInfo { function pkgFromUserAgent (line 762) | function pkgFromUserAgent(userAgent: string | undefined): PkgInfo | unde... function setupReactCompiler (line 772) | function setupReactCompiler(root: string, isTs: boolean) { function updateReactCompilerReadme (line 822) | function updateReactCompilerReadme(root: string, newBody: string) { function editFile (line 838) | function editFile(file: string, callback: (content: string) => string) { function getFullCustomCommand (line 843) | function getFullCustomCommand(customCommand: string, pkgInfo?: PkgInfo) { function getLabel (line 894) | function getLabel(variant: FrameworkVariant) { function getInstallCommand (line 904) | function getInstallCommand(agent: string) { function getRunCommand (line 911) | function getRunCommand(agent: string, script: string) { FILE: packages/create-vite/template-lit-ts/src/my-element.ts class MyElement (line 14) | class MyElement extends LitElement { method render (line 21) | render() { method _onClick (line 113) | private _onClick() { type HTMLElementTagNameMap (line 430) | interface HTMLElementTagNameMap { FILE: packages/create-vite/template-lit/src/my-element.js class MyElement (line 12) | class MyElement extends LitElement { method properties (line 13) | static get properties() { method constructor (line 22) | constructor() { method render (line 27) | render() { method _onClick (line 119) | _onClick() { method styles (line 123) | static get styles() { FILE: packages/create-vite/template-preact-ts/src/app.tsx function App (line 7) | function App() { FILE: packages/create-vite/template-preact/src/app.jsx function App (line 7) | function App() { FILE: packages/create-vite/template-react-ts/src/App.tsx function App (line 7) | function App() { FILE: packages/create-vite/template-react/src/App.jsx function App (line 7) | function App() { FILE: packages/create-vite/template-solid-ts/src/App.tsx function App (line 7) | function App() { FILE: packages/create-vite/template-solid/src/App.jsx function App (line 7) | function App() { FILE: packages/create-vite/template-vanilla-ts/src/counter.ts function setupCounter (line 1) | function setupCounter(element: HTMLButtonElement) { FILE: packages/create-vite/template-vanilla/src/counter.js function setupCounter (line 1) | function setupCounter(element) { FILE: packages/plugin-legacy/src/index.ts function loadBabel (line 33) | async function loadBabel() { function toOutputFilePathInHtml (line 43) | function toOutputFilePathInHtml( function getBaseInHTML (line 79) | function getBaseInHTML(urlRelativePath: string, config: ResolvedConfig) { function joinUrlSegments (line 89) | function joinUrlSegments(a: string, b: string): string { function toAssetPathFromHtml (line 102) | function toAssetPathFromHtml( function viteLegacyPlugin (line 146) | function viteLegacyPlugin(options: Options = {}): Plugin[] { function detectPolyfills (line 789) | async function detectPolyfills( function buildPolyfillChunk (line 835) | async function buildPolyfillChunk( function polyfillsPlugin (line 935) | function polyfillsPlugin( function prependModenChunkLegacyGuardPlugin (line 957) | function prependModenChunkLegacyGuardPlugin(): Plugin { function isLegacyChunk (line 979) | function isLegacyChunk(chunk: Rollup.RenderedChunk) { function isLegacyBundle (line 983) | function isLegacyBundle(bundle: Rollup.OutputBundle) { function recordAndRemovePolyfillBabelPlugin (line 991) | function recordAndRemovePolyfillBabelPlugin( function replaceLegacyEnvBabelPlugin (line 1007) | function replaceLegacyEnvBabelPlugin(): BabelPlugin { function replaceModernEnvBabelPlugin (line 1020) | function replaceModernEnvBabelPlugin(): BabelPlugin { function wrapIIFEBabelPlugin (line 1033) | function wrapIIFEBabelPlugin(): BabelPlugin { function viteLegacyPluginCjs (line 1061) | function viteLegacyPluginCjs(this: unknown, options: Options): Plugin[] { FILE: packages/plugin-legacy/src/types.ts type Options (line 1) | interface Options { FILE: packages/vite/bin/openChrome.js function run (line 12) | function run(argv) { function lookupTabWithUrl (line 55) | function lookupTabWithUrl(lookupUrl, app) { FILE: packages/vite/bin/vite.js function start (line 48) | function start() { FILE: packages/vite/client.d.ts type CSSModuleClasses (line 4) | type CSSModuleClasses = { readonly [key: string]: string } type VitePreloadErrorEvent (line 273) | interface VitePreloadErrorEvent extends Event { type WindowEventMap (line 277) | interface WindowEventMap { FILE: packages/vite/rolldown.config.ts method onwarn (line 64) | onwarn(warning, warn) { function enableSourceMapsInWatchModePlugin (line 170) | function enableSourceMapsInWatchModePlugin(): Plugin { function writeTypesPlugin (line 181) | function writeTypesPlugin(): Plugin { function externalizeDepsInWatchPlugin (line 199) | function externalizeDepsInWatchPlugin(): Plugin { type ShimOptions (line 215) | interface ShimOptions { function shimDepsPlugin (line 221) | function shimDepsPlugin(deps: Record): Plugin { function buildTimeImportMetaUrlPlugin (line 293) | function buildTimeImportMetaUrlPlugin(): Plugin { function bundleSizeLimit (line 377) | function bundleSizeLimit(limit: number): Plugin { FILE: packages/vite/rolldown.dts.config.ts type Directive (line 17) | type Directive = ESTree.Directive type ModuleExportName (line 18) | type ModuleExportName = ESTree.ModuleExportName type Program (line 19) | type Program = ESTree.Program type Statement (line 20) | type Statement = ESTree.Statement function patchTypes (line 133) | function patchTypes(): Plugin { function stringifyModuleExportName (line 163) | function stringifyModuleExportName(node: ModuleExportName): string { type ImportBindings (line 170) | type ImportBindings = { id: string; bindings: string[]; locals: string[] } function getImportBindings (line 172) | function getImportBindings( function getAllImportBindings (line 202) | function getAllImportBindings(ast: Program): ImportBindings[] { function validateRunnerChunk (line 209) | function validateRunnerChunk( function validateChunkImports (line 234) | function validateChunkImports( function replaceConfusingTypeNames (line 267) | function replaceConfusingTypeNames( function stripInternalTypes (line 354) | function stripInternalTypes(this: PluginContext, chunk: OutputChunk) { function removeInternal (line 384) | function removeInternal(s: MagicString, node: any): boolean { function cleanUnnecessaryComments (line 406) | function cleanUnnecessaryComments(chunk: OutputChunk) { function escapeRegex (line 415) | function escapeRegex(str: string): string { function unique (line 419) | function unique(arr: T[]): T[] { function addNodePrefix (line 423) | function addNodePrefix(): Plugin { FILE: packages/vite/rollupLicensePlugin.ts function licensePlugin (line 7) | function licensePlugin( function sortDependencies (line 129) | function sortDependencies(dependencies: Dependency[]) { function sortLicenses (line 135) | function sortLicenses(licenses: Set) { type DependencyInfo (line 150) | interface DependencyInfo { function getDependencyInformation (line 156) | function getDependencyInformation(dep: Dependency): DependencyInfo { function normalizeGitUrl (line 184) | function normalizeGitUrl(url: string): string { FILE: packages/vite/scripts/benchCircularImport.ts type GraphConfig (line 20) | interface GraphConfig { type SyntheticGraph (line 29) | interface SyntheticGraph { function moduleId (line 36) | function moduleId(i: number): string { function generateGraph (line 48) | function generateGraph(config: GraphConfig): SyntheticGraph { constant BENCH_PREFIX (line 108) | const BENCH_PREFIX = '/bench/' function createBenchPlugin (line 110) | function createBenchPlugin(graph: SyntheticGraph) { type BenchResult (line 141) | interface BenchResult { function runBenchmark (line 147) | async function runBenchmark(config: GraphConfig): Promise { function main (line 194) | async function main() { FILE: packages/vite/src/client/client.ts method connect (line 62) | async connect(handlers) { method disconnect (line 105) | async disconnect() { method send (line 108) | send(data) { function cleanUrl (line 123) | function cleanUrl(pathname: string): string { function handleMessage (line 204) | async function handleMessage(payload: HotPayload) { function createErrorOverlay (line 341) | function createErrorOverlay(err: ErrorPayload['err']) { function clearErrorOverlay (line 350) | function clearErrorOverlay() { function hasErrorOverlay (line 354) | function hasErrorOverlay() { function waitForSuccessfulPing (line 358) | function waitForSuccessfulPing(socketUrl: string) { type VisibilityManager (line 412) | type VisibilityManager = { function pingWorkerContentMain (line 417) | function pingWorkerContentMain(socketUrl: string) { function waitForSuccessfulPingInternal (line 466) | async function waitForSuccessfulPingInternal( function updateStyle (line 553) | function updateStyle(id: string, content: string): void { function removeStyle (line 584) | function removeStyle(id: string): void { function createHotContext (line 605) | function createHotContext(ownerPath: string): ViteHotContext { function injectQuery (line 612) | function injectQuery(url: string, queryToInject: string): string { class ViteDevRuntime (line 632) | class ViteDevRuntime extends DevRuntime { method createModuleHotContext (line 633) | override createModuleHotContext(moduleId: string) { method applyUpdates (line 640) | override applyUpdates(_boundaries: [string, string][]): void { method send (line 646) | send(message) { FILE: packages/vite/src/client/overlay.ts function h (line 16) | function h( class ErrorOverlay (line 216) | class ErrorOverlay extends HTMLElement { method constructor (line 220) | constructor(err: ErrorPayload['err'], links = true) { method text (line 264) | text(selector: string, text: string, linkFiles = false): void { method close (line 295) | close(): void { FILE: packages/vite/src/module-runner/__tests_dts__/importMeta.ts type cases (line 14) | type cases = [ FILE: packages/vite/src/module-runner/createImportMeta.ts method get (line 7) | get(_, p) { function createDefaultImportMeta (line 14) | function createDefaultImportMeta( function createNodeImportMeta (line 41) | function createNodeImportMeta( FILE: packages/vite/src/module-runner/esmEvaluator.ts class ESModulesEvaluator (line 15) | class ESModulesEvaluator implements ModuleEvaluator { method runInlinedModule (line 19) | async runInlinedModule( method runExternalModule (line 47) | runExternalModule(filepath: string): Promise { FILE: packages/vite/src/module-runner/evaluatedModules.ts constant MODULE_RUNNER_SOURCEMAPPING_REGEXP (line 7) | const MODULE_RUNNER_SOURCEMAPPING_REGEXP = new RegExp( class EvaluatedModuleNode (line 11) | class EvaluatedModuleNode { method constructor (line 21) | constructor( class EvaluatedModules (line 29) | class EvaluatedModules { method getModuleById (line 42) | public getModuleById(id: string): EvaluatedModuleNode | undefined { method getModulesByFile (line 52) | public getModulesByFile(file: string): Set | unde... method getModuleByUrl (line 61) | public getModuleByUrl(url: string): EvaluatedModuleNode | undefined { method ensureModule (line 72) | public ensureModule(id: string, url: string): EvaluatedModuleNode { method invalidateModule (line 89) | public invalidateModule(node: EvaluatedModuleNode): void { method getModuleSourceMapById (line 107) | getModuleSourceMapById(id: string): DecodedMap | null { method clear (line 125) | public clear(): void { function normalizeModuleId (line 147) | function normalizeModuleId(file: string): string { FILE: packages/vite/src/module-runner/hmrHandler.ts function createHMRHandlerForRunner (line 7) | function createHMRHandlerForRunner( function getModulesByFile (line 87) | function getModulesByFile(runner: ModuleRunner, file: string): string[] { function getModulesEntrypoints (line 95) | function getModulesEntrypoints( function findAllEntrypoints (line 119) | function findAllEntrypoints( FILE: packages/vite/src/module-runner/importMetaResolver.ts type ImportMetaResolver (line 3) | type ImportMetaResolver = (specifier: string, importer: string) => string function customizationHookResolve (line 19) | function customizationHookResolve( function createImportMetaResolver (line 41) | function createImportMetaResolver(): ImportMetaResolver | undefined { function importMetaResolveWithCustomHook (line 90) | function importMetaResolveWithCustomHook( FILE: packages/vite/src/module-runner/runner.ts type ModuleRunnerDebugger (line 34) | interface ModuleRunnerDebugger { class ModuleRunner (line 38) | class ModuleRunner { method constructor (line 53) | constructor( method import (line 90) | public async import(url: string): Promise { method clearCache (line 98) | public clearCache(): void { method close (line 107) | public async close(): Promise { method isClosed (line 118) | public isClosed(): boolean { method processImport (line 122) | private processImport( method isCircularModule (line 136) | private isCircularModule(mod: EvaluatedModuleNode) { method isCircularImport (line 145) | private isCircularImport( method cachedRequest (line 170) | private async cachedRequest( method cachedModule (line 229) | private async cachedModule( method ensureBuiltins (line 249) | private ensureBuiltins(): Promise | undefined { method getModuleInformation (line 277) | private async getModuleInformation( method directRequest (line 334) | protected async directRequest( function exportAll (line 436) | function exportAll(exports: any, sourceModule: any) { FILE: packages/vite/src/module-runner/sourcemap/decoder.ts type SourceMapLike (line 5) | interface SourceMapLike { type Needle (line 13) | type Needle = { class DecodedMap (line 18) | class DecodedMap { method constructor (line 28) | constructor( type Stats (line 46) | interface Stats { function memoizedState (line 51) | function memoizedState(): Stats { function getOriginalPosition (line 58) | function getOriginalPosition( FILE: packages/vite/src/module-runner/sourcemap/index.ts function enableSourceMapSupport (line 4) | function enableSourceMapSupport(runner: ModuleRunner): () => void { FILE: packages/vite/src/module-runner/sourcemap/interceptor.ts type RetrieveFileHandler (line 8) | interface RetrieveFileHandler { type RetrieveSourceMapHandler (line 12) | interface RetrieveSourceMapHandler { type InterceptorOptions (line 16) | interface InterceptorOptions { function resetInterceptor (line 48) | function resetInterceptor(runner: ModuleRunner, options: InterceptorOpti... function interceptStackTrace (line 59) | function interceptStackTrace( type CallSite (line 74) | interface CallSite extends NodeJS.CallSite { type State (line 78) | interface State { type CachedMapEntry (line 83) | interface CachedMapEntry { function supportRelativeURL (line 90) | function supportRelativeURL(file: string, url: string) { function getRunnerSourceMap (line 104) | function getRunnerSourceMap(position: OriginalMapping): CachedMapEntry |... function retrieveFile (line 118) | function retrieveFile(path: string): string | null | undefined | false { function retrieveSourceMapURL (line 128) | function retrieveSourceMapURL(source: string) { function retrieveSourceMap (line 145) | function retrieveSourceMap(source: string) { function mapSourcePosition (line 173) | function mapSourcePosition(position: OriginalMapping) { function mapEvalOrigin (line 239) | function mapEvalOrigin(origin: string): string { function CallSiteToString (line 266) | function CallSiteToString(this: CallSite) { function cloneCallSite (line 332) | function cloneCallSite(frame: CallSite) { function wrapCallSite (line 347) | function wrapCallSite(frame: CallSite, state: State) { function prepareStackTrace (line 411) | function prepareStackTrace(error: Error, stack: CallSite[]) { FILE: packages/vite/src/module-runner/types.ts type ModuleRunnerImportMeta (line 27) | interface ModuleRunnerImportMeta { type ModuleRunnerContext (line 38) | interface ModuleRunnerContext { type ModuleEvaluator (line 50) | interface ModuleEvaluator { type ResolvedResult (line 73) | type ResolvedResult = (ExternalFetchResult | ViteFetchResult) & { type FetchFunction (line 78) | type FetchFunction = ( type ModuleRunnerHmr (line 84) | interface ModuleRunnerHmr { type ModuleRunnerOptions (line 91) | interface ModuleRunnerOptions { type ImportMetaEnv (line 126) | interface ImportMetaEnv { FILE: packages/vite/src/module-runner/utils.ts constant CHAR_FORWARD_SLASH (line 9) | const CHAR_FORWARD_SLASH = 47 constant CHAR_BACKWARD_SLASH (line 10) | const CHAR_BACKWARD_SLASH = 92 function encodePathChars (line 20) | function encodePathChars(filepath: string) { function posixPathToFileHref (line 38) | function posixPathToFileHref(posixPath: string): string { function toWindowsPath (line 63) | function toWindowsPath(path: string): string { FILE: packages/vite/src/node/__tests__/build.spec.ts type FormatsToFileNames (line 28) | type FormatsToFileNames = [LibraryFormats, string][] method resolveId (line 42) | resolveId(id) { method load (line 51) | load(id) { method resolveId (line 95) | resolveId(id) { method load (line 108) | load(id) { method resolveId (line 170) | resolveId(id) { method load (line 179) | load(id) { method resolveId (line 226) | resolveId(id) { method load (line 232) | load(id) { method config (line 799) | config() { method resolveId (line 979) | resolveId(id) { method load (line 985) | load(id) { method onLog (line 1041) | onLog(level, log) { method onwarn (line 1057) | onwarn(warning) { function getManifestKeys (line 1128) | function getManifestKeys(output: RolldownOutput) { function assertOutputHashContentChange (line 1167) | function assertOutputHashContentChange( function getOutputHashChanges (line 1186) | function getOutputHashChanges( FILE: packages/vite/src/node/__tests__/config.spec.ts method configEnvironment (line 569) | configEnvironment(name) { method configEnvironment (line 597) | configEnvironment(name) { method config (line 629) | config() { method config (line 646) | config(config) { method config (line 664) | config() { method config (line 680) | config(config) { method config (line 703) | config() { method config (line 719) | config(config) { method config (line 829) | config() { method config (line 838) | config(config) { method config (line 913) | config() { method config (line 978) | config() { function testConfig (line 1054) | async function testConfig(inlineConfig: InlineConfig) { FILE: packages/vite/src/node/__tests__/dev.spec.ts method configureServer (line 51) | configureServer(server) { FILE: packages/vite/src/node/__tests__/environment.spec.ts function getConfig (line 10) | function getConfig({ FILE: packages/vite/src/node/__tests__/external.spec.ts function createIsExternal (line 19) | async function createIsExternal(external?: true) { FILE: packages/vite/src/node/__tests__/fixtures/dynamic-import/entry.mjs function main (line 1) | async function main() { FILE: packages/vite/src/node/__tests__/fixtures/emit-assets/entry.mjs function Page (line 4) | function Page() { FILE: packages/vite/src/node/__tests__/fixtures/runner-import/basic.ts type Test (line 1) | interface Test { FILE: packages/vite/src/node/__tests__/fixtures/runner-import/plugin.ts function testPlugin (line 3) | function testPlugin(): Plugin { FILE: packages/vite/src/node/__tests__/fixtures/shared-plugins/minify/entry.js function main (line 1) | function main() { FILE: packages/vite/src/node/__tests__/http.spec.ts constant BASE_PORT (line 8) | const BASE_PORT = 15181 function createSimpleServer (line 30) | async function createSimpleServer(port: number, host: string) { FILE: packages/vite/src/node/__tests__/optimizer/rolldownDepPlugin.spec.ts function createRolldownDepPluginTransform (line 5) | async function createRolldownDepPluginTransform(cacheDir: string) { FILE: packages/vite/src/node/__tests__/plugins/assetImportMetaUrl.spec.ts function createAssetImportMetaurlPluginTransform (line 7) | async function createAssetImportMetaurlPluginTransform() { FILE: packages/vite/src/node/__tests__/plugins/css.spec.ts function createCssPluginTransform (line 236) | async function createCssPluginTransform(inlineConfig: InlineConfig = {}) { function getInlinedCSSInjectedCode (line 470) | function getInlinedCSSInjectedCode( FILE: packages/vite/src/node/__tests__/plugins/define.spec.ts function createDefinePluginTransform (line 7) | async function createDefinePluginTransform( FILE: packages/vite/src/node/__tests__/plugins/dynamicImportVar/mods/hello.js function hello (line 1) | function hello() { FILE: packages/vite/src/node/__tests__/plugins/dynamicImportVar/mods/hi.js function hi (line 1) | function hi() { FILE: packages/vite/src/node/__tests__/plugins/dynamicImportVar/parse.spec.ts function run (line 9) | async function run(input: string) { FILE: packages/vite/src/node/__tests__/plugins/esbuild.spec.ts function defineResolvedConfig (line 434) | function defineResolvedConfig(config: UserConfig): ResolvedConfig { FILE: packages/vite/src/node/__tests__/plugins/hooks.spec.ts constant ENTRY_ID (line 20) | const ENTRY_ID = 'entry.js' constant RESOLVED_ENTRY_ID (line 21) | const RESOLVED_ENTRY_ID = `\0${ENTRY_ID}` method resolveId (line 24) | resolveId(id) { method load (line 29) | load(id) { method configurePreviewServer (line 58) | configurePreviewServer({ httpServer }) { method config (line 92) | config() { method configEnvironment (line 113) | configEnvironment(name) { method configResolved (line 136) | configResolved() { method configureServer (line 156) | configureServer() { method configurePreviewServer (line 176) | configurePreviewServer() { method transformIndexHtml (line 196) | transformIndexHtml() { method transformIndexHtml (line 217) | transformIndexHtml() { method handleHotUpdate (line 238) | handleHotUpdate() { method hotUpdate (line 266) | hotUpdate() { method transform (line 296) | transform(_code, id) { method transform (line 319) | transform(_code, id) { method resolveId (line 340) | resolveId(id) { FILE: packages/vite/src/node/__tests__/plugins/import.spec.ts function runTransformCjsImport (line 12) | function runTransformCjsImport(importExp: string, isNodeMode: boolean) { FILE: packages/vite/src/node/__tests__/plugins/importGlob/fixture-a/index.ts type ModuleType (line 5) | interface ModuleType { FILE: packages/vite/src/node/__tests__/plugins/importGlob/parse.spec.ts function run (line 4) | async function run(input: string) { function runError (line 18) | async function runError(input: string) { FILE: packages/vite/src/node/__tests__/plugins/index.spec.ts method resolveId (line 128) | resolveId(id) { method load (line 131) | load(id) { FILE: packages/vite/src/node/__tests__/plugins/modulePreloadPolyfill/modulePreloadPolyfill.spec.ts method resolveId (line 25) | resolveId(id) { method load (line 30) | load(id) { FILE: packages/vite/src/node/__tests__/plugins/pluginFilter.spec.ts type Filters (line 231) | type Filters = { FILE: packages/vite/src/node/__tests__/plugins/terser.spec.ts method resolveId (line 20) | resolveId(id) { method load (line 25) | load(id) { FILE: packages/vite/src/node/__tests__/plugins/workerImportMetaUrl.spec.ts function createWorkerImportMetaUrlPluginTransform (line 7) | async function createWorkerImportMetaUrlPluginTransform() { FILE: packages/vite/src/node/__tests__/resolve.spec.ts function createTestServer (line 9) | async function createTestServer() { function getConfig (line 61) | function getConfig(): InlineConfig { function getConfig (line 147) | function getConfig( function run (line 168) | async function run({ FILE: packages/vite/src/node/__tests__/shortcuts.spec.ts method configureServer (line 79) | configureServer(viteDevServer) { FILE: packages/vite/src/node/__tests__/utils.spec.ts constant WORKING_TEST_CERT (line 37) | const WORKING_TEST_CERT = ` FILE: packages/vite/src/node/__tests_dts__/config.ts type cases1 (line 25) | type cases1 = [ FILE: packages/vite/src/node/__tests_dts__/plugin.ts type EnvironmentPluginHooksContext (line 15) | type EnvironmentPluginHooksContext = GetHookContextMap type EnvironmentPluginHooksContextMatched (line 16) | type EnvironmentPluginHooksContextMatched = { type HooksMissingExtension (line 22) | type HooksMissingExtension = NonNeverKeys = Key extends keyof Opts ? true... type cases (line 15) | type cases = [ FILE: packages/vite/src/node/__tests_dts__/utils.ts type cases1 (line 48) | type cases1 = [ FILE: packages/vite/src/node/assetSource.ts type HtmlAssetSource (line 3) | interface HtmlAssetSource { type HtmlAssetSourceFilterData (line 12) | interface HtmlAssetSourceFilterData { constant ALLOWED_META_NAME (line 20) | const ALLOWED_META_NAME = [ constant ALLOWED_META_PROPERTY (line 31) | const ALLOWED_META_PROPERTY = [ constant DEFAULT_HTML_ASSET_SOURCES (line 41) | const DEFAULT_HTML_ASSET_SOURCES: Record = { method filter (line 80) | filter({ attributes }) { type HtmlAssetAttribute (line 100) | interface HtmlAssetAttribute { function getNodeAssetAttributes (line 111) | function getNodeAssetAttributes( function getAttrKey (line 149) | function getAttrKey(attr: Token.Attribute): string { FILE: packages/vite/src/node/baseEnvironment.ts class PartialEnvironment (line 13) | class PartialEnvironment { method getTopLevelConfig (line 15) | getTopLevelConfig(): ResolvedConfig { method constructor (line 32) | constructor( class BaseEnvironment (line 104) | class BaseEnvironment extends PartialEnvironment { method plugins (line 105) | get plugins(): readonly Plugin[] { method constructor (line 114) | constructor( class UnknownEnvironment (line 135) | class UnknownEnvironment extends BaseEnvironment { FILE: packages/vite/src/node/build.ts type BuildEnvironmentOptions (line 91) | interface BuildEnvironmentOptions { type BuildOptions (line 305) | type BuildOptions = BuildEnvironmentOptions type LibraryOptions (line 307) | interface LibraryOptions { type LibraryFormats (line 336) | type LibraryFormats = 'es' | 'cjs' | 'umd' | 'iife' // | 'system' type ModulePreloadOptions (line 338) | interface ModulePreloadOptions { type ResolvedModulePreloadOptions (line 351) | interface ResolvedModulePreloadOptions { type ResolveModulePreloadDependenciesFn (line 356) | type ResolveModulePreloadDependenciesFn = ( type ResolvedBuildEnvironmentOptions (line 365) | interface ResolvedBuildEnvironmentOptions extends Required< type ResolvedBuildOptions (line 371) | interface ResolvedBuildOptions extends Required< function resolveBuildEnvironmentOptions (line 418) | function resolveBuildEnvironmentOptions( function resolveBuildPlugins (line 500) | async function resolveBuildPlugins(config: ResolvedConfig): Promise<{ function build (line 540) | async function build( function resolveConfigToBuild (line 549) | function resolveConfigToBuild( function resolveRolldownOptions (line 565) | function resolveRolldownOptions( function buildEnvironment (line 781) | async function buildEnvironment( function enhanceRollupError (line 889) | function enhanceRollupError(e: RollupError): void { function extractStack (line 923) | function extractStack(e: RollupError) { function normalizeCodeFrame (line 943) | function normalizeCodeFrame(frame: string) { type JsExt (line 948) | type JsExt = 'js' | 'cjs' | 'mjs' function resolveOutputJsExtension (line 950) | function resolveOutputJsExtension( function resolveLibFilename (line 961) | function resolveLibFilename( function resolveBuildOutputs (line 994) | function resolveBuildOutputs( function clearLine (line 1055) | function clearLine(): void { function onRollupLog (line 1063) | function onRollupLog( function normalizeUserOnWarn (line 1147) | function normalizeUserOnWarn( function resolveUserExternal (line 1165) | function resolveUserExternal( function isExternal (line 1180) | function isExternal(id: string, test: string | RegExp) { class ChunkMetadataMap (line 1188) | class ChunkMetadataMap { method _getKey (line 1192) | private _getKey(chunk: RenderedChunk | OutputChunk | OutputAsset): str... method _getDefaultValue (line 1198) | private _getDefaultValue( method get (line 1215) | get( method reset (line 1226) | reset(chunk: RenderedChunk | OutputChunk | OutputAsset): void { method clearResetChunks (line 1234) | clearResetChunks(): void { function injectEnvironmentToHooks (line 1239) | function injectEnvironmentToHooks( type AbstractHook (line 1287) | type AbstractHook = { function wrapHookObject (line 1296) | function wrapHookObject< function wrapEnvironmentResolveId (line 1333) | function wrapEnvironmentResolveId( function wrapEnvironmentLoad (line 1357) | function wrapEnvironmentLoad( function wrapEnvironmentTransform (line 1380) | function wrapEnvironmentTransform( function wrapEnvironmentHook (line 1404) | function wrapEnvironmentHook( function injectChunkMetadata (line 1442) | function injectChunkMetadata( function injectEnvironmentInContext (line 1466) | function injectEnvironmentInContext( function injectSsrFlag (line 1475) | function injectSsrFlag>( function escapeId (line 1524) | function escapeId(id: string): string { type RenderBuiltAssetUrl (line 1583) | type RenderBuiltAssetUrl = ( function toOutputFilePathInJS (line 1593) | function toOutputFilePathInJS( function createToImportMetaURLBasedRelativeRuntime (line 1632) | function createToImportMetaURLBasedRelativeRuntime( function toOutputFilePathWithoutRuntime (line 1645) | function toOutputFilePathWithoutRuntime( class BuildEnvironment (line 1687) | class BuildEnvironment extends BaseEnvironment { method constructor (line 1691) | constructor( method init (line 1711) | async init(): Promise { type ViteBuilder (line 1719) | interface ViteBuilder { type BuilderOptions (line 1729) | interface BuilderOptions { function resolveBuilderOptions (line 1755) | function resolveBuilderOptions( type ResolvedBuilderOptions (line 1765) | type ResolvedBuilderOptions = Required function createBuilder (line 1771) | async function createBuilder( type BuildAppHook (line 1919) | type BuildAppHook = ( FILE: packages/vite/src/node/cli.ts function checkNodeVersion (line 15) | function checkNodeVersion(nodeVersion: string): boolean { type GlobalCLIOptions (line 38) | interface GlobalCLIOptions { type ExperimentalDevOptions (line 57) | interface ExperimentalDevOptions { type BuilderCLIOptions (line 61) | interface BuilderCLIOptions { function cleanGlobalCLIOptions (line 104) | function cleanGlobalCLIOptions( function cleanBuilderCLIOptions (line 146) | function cleanBuilderCLIOptions( method action (line 270) | async action(server) { FILE: packages/vite/src/node/config.ts constant SYMBOL_RESOLVED_CONFIG (line 137) | const SYMBOL_RESOLVED_CONFIG: unique symbol = Symbol('vite:resolved-conf... type ConfigEnv (line 139) | interface ConfigEnv { type AppType (line 157) | type AppType = 'spa' | 'mpa' | 'custom' type UserConfigFnObject (line 159) | type UserConfigFnObject = (env: ConfigEnv) => UserConfig type UserConfigFnPromise (line 160) | type UserConfigFnPromise = (env: ConfigEnv) => Promise type UserConfigFn (line 161) | type UserConfigFn = (env: ConfigEnv) => UserConfig | Promise type UserConfigExport (line 163) | type UserConfigExport = function defineConfig (line 181) | function defineConfig(config: UserConfigExport): UserConfigExport { type CreateDevEnvironmentContext (line 185) | interface CreateDevEnvironmentContext { type DevEnvironmentOptions (line 189) | interface DevEnvironmentOptions { function defaultCreateClientDevEnvironment (line 242) | function defaultCreateClientDevEnvironment( function defaultCreateDevEnvironment (line 260) | function defaultCreateDevEnvironment(name: string, config: ResolvedConfi... type ResolvedDevEnvironmentOptions (line 264) | type ResolvedDevEnvironmentOptions = Omit< type AllResolveOptions (line 274) | type AllResolveOptions = ResolveOptions & { type ResolvedAllResolveOptions (line 278) | type ResolvedAllResolveOptions = Required & { alias: Ali... type SharedEnvironmentOptions (line 280) | interface SharedEnvironmentOptions { type EnvironmentOptions (line 306) | interface EnvironmentOptions extends SharedEnvironmentOptions { type ResolvedResolveOptions (line 317) | type ResolvedResolveOptions = Required type ResolvedEnvironmentOptions (line 319) | type ResolvedEnvironmentOptions = { type DefaultEnvironmentOptions (line 332) | type DefaultEnvironmentOptions = Omit< type UserConfig (line 339) | interface UserConfig extends DefaultEnvironmentOptions { type HTMLOptions (line 524) | interface HTMLOptions { type FutureOptions (line 533) | interface FutureOptions { type ExperimentalOptions (line 547) | interface ExperimentalOptions { type LegacyOptions (line 579) | interface LegacyOptions { type ResolvedWorkerOptions (line 605) | interface ResolvedWorkerOptions { type InlineConfig (line 615) | interface InlineConfig extends UserConfig { type ResolvedConfig (line 624) | interface ResolvedConfig extends Readonly< function resolveDevToolsConfig (line 729) | async function resolveDevToolsConfig( function resolveDevEnvironmentOptions (line 871) | function resolveDevEnvironmentOptions( function resolveEnvironmentOptions (line 901) | function resolveEnvironmentOptions( function getDefaultEnvironmentOptions (line 979) | function getDefaultEnvironmentOptions( type PluginHookUtils (line 995) | interface PluginHookUtils { type ResolveFn (line 1004) | type ResolveFn = ( function checkBadCharactersInPath (line 1015) | function checkBadCharactersInPath( function resolveEnvironmentResolveOptions (line 1061) | function resolveEnvironmentResolveOptions( function resolveResolveOptions (line 1115) | function resolveResolveOptions( function resolveDepOptimizationOptions (line 1154) | function resolveDepOptimizationOptions( function setOptimizeDepsPluginNames (line 1313) | async function setOptimizeDepsPluginNames(resolvedConfig: ResolvedConfig) { function applyDepOptimizationOptionCompat (line 1332) | function applyDepOptimizationOptionCompat(resolvedConfig: ResolvedConfig) { function isResolvedConfig (line 1347) | function isResolvedConfig( function resolveConfig (line 1356) | async function resolveConfig( function resolveBaseUrl (line 2145) | function resolveBaseUrl( function decodeBase (line 2185) | function decodeBase(base: string): string { function sortUserPlugins (line 2195) | function sortUserPlugins( function loadConfigFromFile (line 2213) | async function loadConfigFromFile( function nativeImportConfigFile (line 2292) | async function nativeImportConfigFile(resolvedPath: string) { function runnerImportConfigFile (line 2302) | async function runnerImportConfigFile(resolvedPath: string) { function bundleAndLoadConfigFile (line 2312) | async function bundleAndLoadConfigFile(resolvedPath: string) { function bundleConfigFile (line 2329) | async function bundleConfigFile( function collectAllModules (line 2494) | function collectAllModules( type NodeModuleWithCompile (line 2517) | interface NodeModuleWithCompile extends NodeModule { function loadConfigFromBundledFile (line 2522) | async function loadConfigFromBundledFile( function runConfigHook (line 2591) | async function runConfigHook( function runConfigEnvironmentHook (line 2636) | async function runConfigEnvironmentHook( function optimizeDepsDisabledBackwardCompatibility (line 2663) | function optimizeDepsDisabledBackwardCompatibility( FILE: packages/vite/src/node/constants.ts constant ROLLUP_HOOKS (line 10) | const ROLLUP_HOOKS: RollupPluginHooks[] = [ constant VERSION (line 40) | const VERSION = version as string constant DEFAULT_MAIN_FIELDS (line 42) | const DEFAULT_MAIN_FIELDS = [ constant DEFAULT_CLIENT_MAIN_FIELDS (line 48) | const DEFAULT_CLIENT_MAIN_FIELDS: readonly string[] = constant DEFAULT_SERVER_MAIN_FIELDS (line 50) | const DEFAULT_SERVER_MAIN_FIELDS: readonly string[] = Object.freeze( constant DEV_PROD_CONDITION (line 58) | const DEV_PROD_CONDITION = `development|production` as const constant DEFAULT_CONDITIONS (line 60) | const DEFAULT_CONDITIONS = ['module', 'browser', 'node', DEV_PROD_CONDIT... constant DEFAULT_CLIENT_CONDITIONS (line 61) | const DEFAULT_CLIENT_CONDITIONS: readonly string[] = Object.freeze( constant DEFAULT_SERVER_CONDITIONS (line 64) | const DEFAULT_SERVER_CONDITIONS: readonly string[] = Object.freeze( constant DEFAULT_EXTERNAL_CONDITIONS (line 68) | const DEFAULT_EXTERNAL_CONDITIONS: readonly string[] = Object.freeze([ constant DEFAULT_EXTENSIONS (line 73) | const DEFAULT_EXTENSIONS: string[] = [ constant ESBUILD_BASELINE_WIDELY_AVAILABLE_TARGET (line 90) | const ESBUILD_BASELINE_WIDELY_AVAILABLE_TARGET: string[] = [ constant DEFAULT_CONFIG_FILES (line 98) | const DEFAULT_CONFIG_FILES: string[] = [ constant JS_TYPES_RE (line 107) | const JS_TYPES_RE: RegExp = /\.(?:j|t)sx?$|\.mjs$/ constant CSS_LANGS_RE (line 109) | const CSS_LANGS_RE: RegExp = constant OPTIMIZABLE_ENTRY_RE (line 112) | const OPTIMIZABLE_ENTRY_RE: RegExp = /\.[cm]?[jt]s$/ constant SPECIAL_QUERY_RE (line 114) | const SPECIAL_QUERY_RE: RegExp = /[?&](?:worker|sharedworker|raw|url)\b/ constant FS_PREFIX (line 119) | const FS_PREFIX = `/@fs/` constant CLIENT_PUBLIC_PATH (line 121) | const CLIENT_PUBLIC_PATH = `/@vite/client` constant ENV_PUBLIC_PATH (line 122) | const ENV_PUBLIC_PATH = `/@vite/env` constant VITE_PACKAGE_DIR (line 123) | const VITE_PACKAGE_DIR: string = resolve( constant CLIENT_ENTRY (line 128) | const CLIENT_ENTRY: string = resolve( constant ENV_ENTRY (line 132) | const ENV_ENTRY: string = resolve( constant CLIENT_DIR (line 136) | const CLIENT_DIR: string = path.dirname(CLIENT_ENTRY) constant KNOWN_ASSET_TYPES (line 146) | const KNOWN_ASSET_TYPES: string[] = [ constant DEFAULT_ASSETS_RE (line 188) | const DEFAULT_ASSETS_RE: RegExp = new RegExp( constant DEP_VERSION_RE (line 193) | const DEP_VERSION_RE: RegExp = /[?&](v=[\w.-]+)\b/ constant DEFAULT_DEV_PORT (line 207) | const DEFAULT_DEV_PORT = 5173 constant DEFAULT_PREVIEW_PORT (line 209) | const DEFAULT_PREVIEW_PORT = 4173 constant DEFAULT_ASSETS_INLINE_LIMIT (line 211) | const DEFAULT_ASSETS_INLINE_LIMIT = 4096 constant METADATA_FILENAME (line 220) | const METADATA_FILENAME = '_metadata.json' constant ERR_OPTIMIZE_DEPS_PROCESSING_ERROR (line 222) | const ERR_OPTIMIZE_DEPS_PROCESSING_ERROR = constant ERR_FILE_NOT_FOUND_IN_OPTIMIZED_DEP_DIR (line 224) | const ERR_FILE_NOT_FOUND_IN_OPTIMIZED_DEP_DIR = FILE: packages/vite/src/node/deprecations.ts function isFutureDeprecationEnabled (line 44) | function isFutureDeprecationEnabled( function warnFutureDeprecation (line 55) | function warnFutureDeprecation( function ignoreDeprecationWarnings (line 99) | function ignoreDeprecationWarnings(fn: () => T): T { FILE: packages/vite/src/node/env.ts function getEnvFilesForMode (line 11) | function getEnvFilesForMode( function loadEnv (line 27) | function loadEnv( function resolveEnvPrefix (line 97) | function resolveEnvPrefix({ FILE: packages/vite/src/node/environment.ts type Environment (line 7) | type Environment = function perEnvironmentState (line 20) | function perEnvironmentState( FILE: packages/vite/src/node/external.ts function shouldExternalize (line 22) | function shouldExternalize( function createIsConfiguredAsExternal (line 35) | function createIsConfiguredAsExternal( function createIsExternal (line 127) | function createIsExternal( function canExternalizeFile (line 149) | function canExternalizeFile(filePath: string): boolean { FILE: packages/vite/src/node/http.ts type CommonServerOptions (line 13) | interface CommonServerOptions { type CorsOptions (line 95) | interface CorsOptions { type CorsOrigin (line 117) | type CorsOrigin = boolean | string | RegExp | (string | RegExp)[] function resolveHttpServer (line 119) | async function resolveHttpServer( function resolveHttpsConfig (line 146) | async function resolveHttpsConfig( function readFileIfExists (line 160) | async function readFileIfExists(value?: string | Buffer | any[]) { function isPortAvailable (line 168) | async function isPortAvailable(port: number): Promise { function tryListen (line 177) | function tryListen(port: number, host: string): Promise { function tryBindServer (line 190) | async function tryBindServer( constant MAX_PORT (line 216) | const MAX_PORT = 65535 function httpServerStart (line 218) | async function httpServerStart( function setClientErrorHandler (line 253) | function setClientErrorHandler( FILE: packages/vite/src/node/idResolver.ts type ResolveIdFn (line 11) | type ResolveIdFn = ( function createBackCompatIdResolver (line 23) | function createBackCompatIdResolver( function createIdResolver (line 42) | function createIdResolver( FILE: packages/vite/src/node/logger.ts type LogType (line 8) | type LogType = 'error' | 'warn' | 'info' type LogLevel (line 9) | type LogLevel = LogType | 'silent' type Logger (line 10) | interface Logger { type LogOptions (line 20) | interface LogOptions { type LogErrorOptions (line 26) | interface LogErrorOptions extends LogOptions { function clearScreen (line 41) | function clearScreen() { type LoggerOptions (line 49) | interface LoggerOptions { function getTimeFormatter (line 59) | function getTimeFormatter() { function createLogger (line 68) | function createLogger( function printServerUrls (line 168) | function printServerUrls( FILE: packages/vite/src/node/nodeResolve.ts type NodeResolveWithViteOptions (line 6) | interface NodeResolveWithViteOptions { function nodeResolveWithVite (line 14) | function nodeResolveWithVite( FILE: packages/vite/src/node/optimizer/index.ts type ExportsData (line 49) | type ExportsData = { type DepsOptimizer (line 57) | interface DepsOptimizer { type DepOptimizationConfig (line 74) | interface DepOptimizationConfig { type DepOptimizationOptions (line 176) | type DepOptimizationOptions = DepOptimizationConfig & { function isDepOptimizationDisabled (line 195) | function isDepOptimizationDisabled( type DepOptimizationResult (line 205) | interface DepOptimizationResult { type OptimizedDepInfo (line 216) | interface OptimizedDepInfo { type DepOptimizationMetadata (line 236) | interface DepOptimizationMetadata { function optimizeDeps (line 283) | async function optimizeDeps( function optimizeExplicitEnvironmentDeps (line 324) | async function optimizeExplicitEnvironmentDeps( function initDepsOptimizerMetadata (line 349) | function initDepsOptimizerMetadata( function addOptimizedDepInfo (line 366) | function addOptimizedDepInfo( function loadCachedDepOptimizationMetadata (line 382) | async function loadCachedDepOptimizationMetadata( function discoverProjectDependencies (line 451) | function discoverProjectDependencies(environment: ScanEnvironment): { function toDiscoveredDependencies (line 479) | function toDiscoveredDependencies( function depsLogString (line 503) | function depsLogString(qualifiedIds: string[]): string { function runOptimizeDeps (line 511) | function runOptimizeDeps( function prepareRolldownOptimizerRun (line 751) | async function prepareRolldownOptimizerRun( function addManuallyIncludedOptimizeDeps (line 866) | async function addManuallyIncludedOptimizeDeps( function depsFromOptimizedDepInfo (line 914) | function depsFromOptimizedDepInfo( function getOptimizedDepPath (line 924) | function getOptimizedDepPath( function getDepsCacheSuffix (line 933) | function getDepsCacheSuffix(environment: Environment): string { function getDepsCacheDir (line 937) | function getDepsCacheDir(environment: Environment): string { function getProcessingDepsCacheDir (line 941) | function getProcessingDepsCacheDir(environment: Environment) { function getTempSuffix (line 949) | function getTempSuffix() { function getDepsCacheDirPrefix (line 960) | function getDepsCacheDirPrefix(environment: Environment): string { function createIsOptimizedDepFile (line 964) | function createIsOptimizedDepFile( function createIsOptimizedDepUrl (line 971) | function createIsOptimizedDepUrl( function parseDepsOptimizerMetadata (line 992) | function parseDepsOptimizerMetadata( function stringifyDepsOptimizerMetadata (line 1046) | function stringifyDepsOptimizerMetadata( function extractExportsData (line 1091) | async function extractExportsData( function needsInterop (line 1171) | function needsInterop( function isSingleDefaultExport (line 1202) | function isSingleDefaultExport(exports: readonly string[]) { function getConfigHash (line 1263) | function getConfigHash(environment: Environment): string { function getLockfileHash (line 1308) | function getLockfileHash(environment: Environment): string { function getDepHash (line 1332) | function getDepHash(environment: Environment): { function getOptimizedBrowserHash (line 1347) | function getOptimizedBrowserHash( function optimizedDepInfoFromId (line 1355) | function optimizedDepInfoFromId( function optimizedDepInfoFromFile (line 1364) | function optimizedDepInfoFromFile( function findOptimizedDepInfoInRecord (line 1371) | function findOptimizedDepInfoInRecord( function optimizedDepNeedsInterop (line 1383) | async function optimizedDepNeedsInterop( constant MAX_TEMP_DIR_AGE_MS (line 1400) | const MAX_TEMP_DIR_AGE_MS = 24 * 60 * 60 * 1000 function cleanupDepsCacheStaleDirs (line 1401) | async function cleanupDepsCacheStaleDirs( constant GRACEFUL_RENAME_TIMEOUT (line 1441) | const GRACEFUL_RENAME_TIMEOUT = 5000 FILE: packages/vite/src/node/optimizer/optimizer.ts function createDepsOptimizer (line 40) | function createDepsOptimizer( function createExplicitDepsOptimizer (line 748) | function createExplicitDepsOptimizer( function findInteropMismatches (line 783) | function findInteropMismatches( FILE: packages/vite/src/node/optimizer/pluginConverter.ts type MaybePromise (line 13) | type MaybePromise = T | Promise type EsbuildOnResolveCallback (line 14) | type EsbuildOnResolveCallback = ( type EsbuildOnLoadCallback (line 17) | type EsbuildOnLoadCallback = ( type ResolveIdHandler (line 20) | type ResolveIdHandler = ( type LoadHandler (line 29) | type LoadHandler = (this: PluginContext, id: string) => MaybePromise { function devToScanEnvironment (line 71) | function devToScanEnvironment( function scanImports (line 112) | function scanImports(environment: ScanEnvironment): { function computeEntries (line 194) | async function computeEntries(environment: ScanEnvironment) { function prepareRolldownScanner (line 246) | async function prepareRolldownScanner( function orderedDependencies (line 284) | function orderedDependencies(deps: Record) { function globEntries (line 291) | async function globEntries( type Loader (line 329) | type Loader = 'js' | 'ts' | 'jsx' | 'tsx' function rolldownScanPlugin (line 341) | function rolldownScanPlugin( function extractImportPaths (line 730) | function extractImportPaths(code: string) { function shouldExternalizeDep (line 745) | function shouldExternalizeDep(resolvedId: string, rawId: string): boolean { function isScannable (line 757) | function isScannable(id: string, extensions: string[] | undefined): bool... FILE: packages/vite/src/node/packages.ts type PackageCache (line 23) | type PackageCache = Map type PackageData (line 25) | interface PackageData { function invalidatePackageData (line 51) | function invalidatePackageData( function resolvePackageData (line 63) | function resolvePackageData( function findNearestPackageData (line 129) | function findNearestPackageData( function findNearestMainPackageData (line 162) | function findNearestMainPackageData( function loadPackageData (line 178) | function loadPackageData(pkgPath: string): PackageData { function getResolveCacheKey (line 227) | function getResolveCacheKey(key: string, options: InternalResolveOptions) { function findNearestNodeModules (line 239) | function findNearestNodeModules(basedir: string): string | null { function watchPackageDataPlugin (line 254) | function watchPackageDataPlugin(packageCache: PackageCache): Plugin { function getRpdCache (line 298) | function getRpdCache( function setRpdCache (line 315) | function setRpdCache( function getRpdCacheKey (line 330) | function getRpdCacheKey( function getFnpdCache (line 345) | function getFnpdCache( function setFnpdCache (line 360) | function setFnpdCache( function getFnpdCacheKey (line 373) | function getFnpdCacheKey(basedir: string) { function traverseBetweenDirs (line 382) | function traverseBetweenDirs( FILE: packages/vite/src/node/plugin.ts type PluginContextExtension (line 62) | interface PluginContextExtension { type PluginContextMetaExtension (line 69) | interface PluginContextMetaExtension { type ConfigPluginContext (line 73) | interface ConfigPluginContext extends Omit< type MinimalPluginContextWithoutEnvironment (line 80) | interface MinimalPluginContextWithoutEnvironment extends Omit< type MinimalPluginContext (line 87) | interface MinimalPluginContext extends PluginContextExtension {} type PluginContextMeta (line 88) | interface PluginContextMeta extends PluginContextMetaExtension {} type Plugin (line 101) | interface Plugin extends RolldownPlugin { type HookHandler (line 373) | type HookHandler = T extends ObjectHook ? H : T type PluginWithRequiredHook (line 375) | type PluginWithRequiredHook = Plugin & { type Thenable (line 379) | type Thenable = T | Promise type FalsyPlugin (line 381) | type FalsyPlugin = false | null | undefined type PluginOption (line 383) | type PluginOption = Thenable< function resolveEnvironmentPlugins (line 390) | async function resolveEnvironmentPlugins( function perEnvironmentPlugin (line 417) | function perEnvironmentPlugin( FILE: packages/vite/src/node/plugins/asset.ts function registerCustomMime (line 63) | function registerCustomMime(): void { function renderAssetUrlInJS (line 76) | function renderAssetUrlInJS( function assetPlugin (line 152) | function assetPlugin(config: ResolvedConfig): Plugin { function fileToUrl (line 319) | async function fileToUrl( function fileToDevUrl (line 332) | async function fileToDevUrl( function getPublicAssetFilename (line 378) | function getPublicAssetFilename( function publicFileToBuiltUrl (line 393) | function publicFileToBuiltUrl( constant GIT_LFS_PREFIX (line 413) | const GIT_LFS_PREFIX = Buffer.from('version https://git-lfs.github.com') function isGitLfsPlaceholder (line 414) | function isGitLfsPlaceholder(content: Buffer): boolean { function fileToBuiltUrl (line 424) | async function fileToBuiltUrl( function toOutputFilePathInJSForBundledDev (line 490) | function toOutputFilePathInJSForBundledDev( function urlToBuiltUrl (line 511) | async function urlToBuiltUrl( function shouldInline (line 535) | function shouldInline( function assetToDataURL (line 567) | function assetToDataURL( function svgToDataURL (line 590) | function svgToDataURL(content: Buffer): string { FILE: packages/vite/src/node/plugins/assetImportMetaUrl.ts function assetImportMetaUrlPlugin (line 37) | function assetImportMetaUrlPlugin(config: ResolvedConfig): Plugin { function buildGlobPattern (line 181) | function buildGlobPattern(ast: any) { function getQueryDelimiterIndex (line 199) | function getQueryDelimiterIndex(rawUrl: string): number { FILE: packages/vite/src/node/plugins/clientInjections.ts function clientInjectionsPlugin (line 19) | function clientInjectionsPlugin(config: ResolvedConfig): Plugin { function escapeReplacement (line 63) | function escapeReplacement(value: string | number | boolean | null) { function createClientConfigValueReplacer (line 68) | async function createClientConfigValueReplacer( function getHmrImplementation (line 140) | async function getHmrImplementation( FILE: packages/vite/src/node/plugins/css.ts type CSSOptions (line 114) | interface CSSOptions { type CSSModulesOptions (line 167) | interface CSSModulesOptions { type ResolvedCSSOptions (line 209) | type ResolvedCSSOptions = Omit & function resolveCSSOptions (line 214) | function resolveCSSOptions( type PreprocessLang (line 241) | const enum PreprocessLang { type PureCssLang (line 249) | const enum PureCssLang { type PostCssDialectLang (line 252) | const enum PostCssDialectLang { type CssLang (line 255) | type CssLang = function encodePublicUrlsInCSS (line 287) | function encodePublicUrlsInCSS(config: ResolvedConfig) { function cssPlugin (line 296) | function cssPlugin(config: ResolvedConfig): Plugin { function cssPostPlugin (line 462) | function cssPostPlugin(config: ResolvedConfig): Plugin { function injectInlinedCSS (line 1143) | function injectInlinedCSS( function cssAnalysisPlugin (line 1174) | function cssAnalysisPlugin(config: ResolvedConfig): Plugin { function isCssScopeToRendered (line 1226) | function isCssScopeToRendered( function getEmptyChunkReplacer (line 1242) | function getEmptyChunkReplacer( type CSSAtImportResolvers (line 1280) | interface CSSAtImportResolvers { function createCSSResolvers (line 1286) | function createCSSResolvers(config: ResolvedConfig): CSSAtImportResolvers { function getCssResolversKeys (line 1342) | function getCssResolversKeys( function compileCSSPreprocessors (line 1348) | async function compileCSSPreprocessors( function getAtImportResolvers (line 1409) | function getAtImportResolvers(config: ResolvedConfig) { function compileCSS (line 1418) | async function compileCSS( function compilePostCSS (line 1495) | async function compilePostCSS( function transformSugarSS (line 1670) | async function transformSugarSS( function runPostCSS (line 1691) | async function runPostCSS( function createCachedImport (line 1792) | function createCachedImport(imp: () => Promise): () => T | Promise... type PreprocessCSSResult (line 1816) | interface PreprocessCSSResult { function preprocessCSS (line 1826) | async function preprocessCSS( function formatPostcssSourceMap (line 1854) | async function formatPostcssSourceMap( function combineSourcemapsIfExists (line 1882) | function combineSourcemapsIfExists( function finalizeCss (line 1904) | async function finalizeCss(css: string, config: ResolvedConfig) { type PostCSSConfigResult (line 1925) | interface PostCSSConfigResult { function resolvePostcssConfig (line 1930) | async function resolvePostcssConfig( type CssUrlResolver (line 1981) | type CssUrlResolver = ( type CssUrlReplacer (line 1992) | type CssUrlReplacer = ( method Once (line 2018) | Once(root) { function rewriteCssUrls (line 2070) | function rewriteCssUrls( function rewriteCssDataUris (line 2080) | function rewriteCssDataUris( function rewriteImportCss (line 2090) | function rewriteImportCss( function rewriteCssImageSet (line 2105) | async function rewriteCssImageSet( function skipUrlReplacer (line 2124) | function skipUrlReplacer(unquotedUrl: string) { function doUrlReplace (line 2135) | async function doUrlReplace( function doImportCSSReplace (line 2176) | async function doImportCSSReplace( function minifyCSS (line 2201) | async function minifyCSS( function resolveMinifyCssEsbuildOptions (line 2281) | function resolveMinifyCssEsbuildOptions( function hoistAtRules (line 2313) | async function hoistAtRules(css: string): Promise { type PreprocessorAdditionalDataResult (line 2346) | type PreprocessorAdditionalDataResult = type PreprocessorAdditionalData (line 2350) | type PreprocessorAdditionalData = type SassPreprocessorOptions (line 2359) | type SassPreprocessorOptions = { type LessPreprocessorOptions (line 2363) | type LessPreprocessorOptions = { type StylusPreprocessorOptions (line 2367) | type StylusPreprocessorOptions = { type StylePreprocessorInternalOptions (line 2371) | type StylePreprocessorInternalOptions = { type SassStylePreprocessorInternalOptions (line 2377) | type SassStylePreprocessorInternalOptions = StylePreprocessorInternalOpt... type LessStylePreprocessorInternalOptions (line 2380) | type LessStylePreprocessorInternalOptions = StylePreprocessorInternalOpt... type StylusStylePreprocessorInternalOptions (line 2383) | type StylusStylePreprocessorInternalOptions = StylePreprocessorInternalO... type StylePreprocessor (line 2386) | type StylePreprocessor... type StylePreprocessorResults (line 2397) | interface StylePreprocessorResults { function loadPreprocessorPath (line 2409) | function loadPreprocessorPath( function loadSassPackage (line 2431) | function loadSassPackage( function loadSss (line 2459) | async function loadSss(root: string): Promise { function cleanScssBugUrl (line 2475) | function cleanScssBugUrl(url: string) { type WorkerType (line 2500) | type WorkerType = InstanceType< method run (line 2515) | async run(sassPath, data, options) { method stop (line 2591) | async stop() { type ScssWorkerResult (line 2601) | type ScssWorkerResult = { method close (line 2614) | close() { method process (line 2617) | async process(environment, source, root, options, resolvers) { function rebaseUrls (line 2696) | async function rebaseUrls( method constructor (line 2814) | constructor(rootFile: string) { method supports (line 2818) | override supports(filename: string) { method supportsSync (line 2821) | override supportsSync() { method loadFile (line 2824) | override async loadFile( method install (line 2850) | install(_, pluginManager) { method shouldUseFake (line 2891) | shouldUseFake(_lessPath, _content, options) { method close (line 2908) | close() { method process (line 2911) | async process(environment, source, root, options, resolvers) { method shouldUseFake (line 3007) | shouldUseFake(_stylusPath, _content, _root, options) { method close (line 3031) | close() { method process (line 3034) | async process(_environment, source, root, options, _resolvers) { function formatStylusSourceMap (line 3080) | function formatStylusSourceMap( function getSource (line 3100) | async function getSource( type PreprocessorWorkerController (line 3169) | type PreprocessorWorkerController = ReturnType< function isPreProcessor (line 3181) | function isPreProcessor(lang: any): lang is PreprocessLang { function compileLightningCSS (line 3188) | async function compileLightningCSS( function getLightningCssErrorMessageForIeSyntaxes (line 3393) | function getLightningCssErrorMessageForIeSyntaxes( function resolveLibCssFilename (line 3532) | function resolveLibCssFilename( FILE: packages/vite/src/node/plugins/define.ts function definePlugin (line 12) | function definePlugin(config: ResolvedConfig): Plugin { function replaceDefine (line 167) | async function replaceDefine( function serializeDefine (line 202) | function serializeDefine(define: Record): string { function handleDefineValue (line 216) | function handleDefineValue(value: any): string { FILE: packages/vite/src/node/plugins/dynamicImportVars.ts type DynamicImportRequest (line 35) | interface DynamicImportRequest { type DynamicImportPattern (line 40) | interface DynamicImportPattern { function parseDynamicImportPattern (line 71) | function parseDynamicImportPattern( function transformDynamicImport (line 114) | async function transformDynamicImport( function dynamicImportVarsPlugin (line 169) | function dynamicImportVarsPlugin(config: ResolvedConfig): Plugin { FILE: packages/vite/src/node/plugins/esbuild.ts constant IIFE_BEGIN_RE (line 30) | const IIFE_BEGIN_RE = type ESBuildOptions (line 45) | interface ESBuildOptions extends EsbuildTransformOptions { type ESBuildTransformResult (line 55) | type ESBuildTransformResult = Omit & { type TSConfigJSON (line 59) | type TSConfigJSON = { type TSCompilerOptions (line 77) | type TSCompilerOptions = NonNullable function transformWithEsbuild (line 99) | async function transformWithEsbuild( function esbuildPlugin (line 278) | function esbuildPlugin(config: ResolvedConfig): Plugin { method applyToEnvironment (line 391) | applyToEnvironment(environment) { method renderChunk (line 394) | async renderChunk(code, chunk, opts) { function resolveEsbuildTranspileOptions (line 427) | function resolveEsbuildTranspileOptions( function prettifyMessage (line 515) | function prettifyMessage(m: EsbuildMessage, code: string): string { function getTSConfigResolutionCache (line 526) | function getTSConfigResolutionCache( function reloadOnTsconfigChange (line 540) | async function reloadOnTsconfigChange( FILE: packages/vite/src/node/plugins/esbuildBannerFooterCompatPlugin.ts function esbuildBannerFooterCompatPlugin (line 13) | function esbuildBannerFooterCompatPlugin( FILE: packages/vite/src/node/plugins/forwardConsole.ts function forwardConsolePlugin (line 11) | function forwardConsolePlugin(pluginOpts: { function formatError (line 54) | function formatError( FILE: packages/vite/src/node/plugins/html.ts type ScriptAssetsUrl (line 53) | interface ScriptAssetsUrl { function htmlInlineProxyPlugin (line 103) | function htmlInlineProxyPlugin(config: ResolvedConfig): Plugin { function addToHTMLProxyCache (line 139) | function addToHTMLProxyCache( function addToHTMLProxyTransformResult (line 154) | function addToHTMLProxyTransformResult( function nodeIsElement (line 177) | function nodeIsElement( function traverseNodes (line 183) | function traverseNodes( type ParseWarnings (line 200) | type ParseWarnings = Partial> function traverseHtml (line 202) | async function traverseHtml( function getScriptInfo (line 225) | function getScriptInfo(node: DefaultTreeAdapterMap['element']): { function overwriteAttrValue (line 257) | function overwriteAttrValue( function removeViteIgnoreAttr (line 283) | function removeViteIgnoreAttr( function formatParseError (line 299) | function formatParseError(parserError: ParserError, id: string, html: st... function handleParseError (line 317) | function handleParseError( function buildHtmlPlugin (line 352) | function buildHtmlPlugin(config: ResolvedConfig): Plugin { function parseRelAttr (line 1047) | function parseRelAttr(attr: string): string[] { function findNeedTransformStyleAttribute (line 1053) | function findNeedTransformStyleAttribute( function extractImportExpressionFromClassicScript (line 1068) | function extractImportExpressionFromClassicScript( type HtmlTagDescriptor (line 1090) | interface HtmlTagDescriptor { type IndexHtmlTransformResult (line 1103) | type IndexHtmlTransformResult = type IndexHtmlTransformContext (line 1111) | interface IndexHtmlTransformContext { type IndexHtmlTransformHook (line 1126) | type IndexHtmlTransformHook = ( type IndexHtmlTransform (line 1132) | type IndexHtmlTransform = function preImportMapHook (line 1139) | function preImportMapHook( function postImportMapHook (line 1167) | function postImportMapHook(): IndexHtmlTransformHook { function injectCspNonceMetaTagHook (line 1188) | function injectCspNonceMetaTagHook( function htmlEnvHook (line 1209) | function htmlEnvHook(config: ResolvedConfig): IndexHtmlTransformHook { function injectNonceAttributeTagHook (line 1255) | function injectNonceAttributeTagHook( function resolveHtmlTransforms (line 1302) | function resolveHtmlTransforms( function headTagInsertCheck (line 1346) | function headTagInsertCheck( function applyHtmlTransforms (line 1370) | async function applyHtmlTransforms( function isEntirelyImport (line 1425) | function isEntirelyImport(code: string) { function getBaseInHTML (line 1431) | function getBaseInHTML(urlRelativePath: string, config: ResolvedConfig) { function injectToHead (line 1453) | function injectToHead( function injectToBody (line 1489) | function injectToBody( function prependInjectFallback (line 1528) | function prependInjectFallback(html: string, tags: HtmlTagDescriptor[]) { function serializeTag (line 1541) | function serializeTag( function serializeTags (line 1555) | function serializeTags( function serializeAttrs (line 1567) | function serializeAttrs(attrs: HtmlTagDescriptor['attrs']): string { function incrementIndent (line 1579) | function incrementIndent(indent: string = '') { FILE: packages/vite/src/node/plugins/importAnalysis.ts type UrlPosition (line 97) | interface UrlPosition { function isExplicitImportRequired (line 103) | function isExplicitImportRequired(url: string): boolean { function normalizeResolvedIdToUrl (line 107) | function normalizeResolvedIdToUrl( function extractImportedBindings (line 146) | function extractImportedBindings( function importAnalysisPlugin (line 224) | function importAnalysisPlugin(config: ResolvedConfig): Plugin { function mergeAcceptedUrls (line 874) | function mergeAcceptedUrls(orderedUrls: Array | undefined>) { function createParseErrorInfo (line 883) | function createParseErrorInfo( function interopNamedImports (line 927) | function interopNamedImports( function getLineBreaks (line 985) | function getLineBreaks(str: string) { type ImportNameSpecifier (line 989) | type ImportNameSpecifier = { importedName: string; localName: string } function transformCjsImport (line 1004) | function transformCjsImport( function getIdentifierNameOrLiteralValue (line 1108) | function getIdentifierNameOrLiteralValue(node: ESTree.ModuleExportName) { function __vite__injectQuery (line 1113) | function __vite__injectQuery(url: string, queryToInject: string): string { FILE: packages/vite/src/node/plugins/importAnalysisBuild.ts type FileDep (line 17) | type FileDep = { type VitePreloadErrorEvent (line 22) | type VitePreloadErrorEvent = Event & { payload: Error } function toRelativePath (line 36) | function toRelativePath(filename: string, importer: string) { function findPreloadMarker (line 41) | function findPreloadMarker(str: string, pos: number = 0): number { function detectScriptRel (line 52) | function detectScriptRel() { function preload (line 62) | function preload( function getPreloadCode (line 165) | function getPreloadCode( function buildImportAnalysisPlugin (line 200) | function buildImportAnalysisPlugin(config: ResolvedConfig): Plugin[] { FILE: packages/vite/src/node/plugins/importMetaGlob.ts type ParsedImportGlob (line 21) | interface ParsedImportGlob { type ParsedGeneralImportGlobOptions (line 33) | interface ParsedGeneralImportGlobOptions extends GeneralImportGlobOptions { function importGlobPlugin (line 37) | function importGlobPlugin(config: ResolvedConfig): Plugin { function err (line 134) | function err(e: string, pos: number) { function parseGlobOptions (line 140) | function parseGlobOptions( function parseImportGlob (line 238) | async function parseImportGlob( function findCorrespondingCloseParenthesisPosition (line 364) | function findCorrespondingCloseParenthesisPosition( type TransformGlobImportResult (line 396) | interface TransformGlobImportResult { function transformGlobImport (line 405) | async function transformGlobImport( type IdResolver (line 595) | type IdResolver = ( function globSafePath (line 606) | function globSafePath(path: string) { function lastNthChar (line 611) | function lastNthChar(str: string, n: number) { function globSafeResolvedPath (line 615) | function globSafeResolvedPath(resolved: string, glob: string) { function toAbsoluteGlob (line 633) | async function toAbsoluteGlob( function getCommonBase (line 681) | function getCommonBase(globsResolved: string[]): null | string { function isVirtualModule (line 707) | function isVirtualModule(id: string): boolean { FILE: packages/vite/src/node/plugins/index.ts function resolvePlugins (line 42) | async function resolvePlugins( function createPluginHookUtils (line 136) | function createPluginHookUtils( function getSortedPluginsByHook (line 163) | function getSortedPluginsByHook( function getHookHandler (line 193) | function getHookHandler>( type FilterForPluginValue (line 199) | type FilterForPluginValue = { function getCachedFilterForPlugin (line 206) | function getCachedFilterForPlugin< function extractFilter (line 247) | function extractFilter( FILE: packages/vite/src/node/plugins/json.ts type JsonOptions (line 1) | interface JsonOptions { FILE: packages/vite/src/node/plugins/license.ts type LicenseEntry (line 8) | interface LicenseEntry { type LicenseOptions (line 27) | interface LicenseOptions { function licensePlugin (line 44) | function licensePlugin(): Plugin { function licenseEntryToMarkdown (line 116) | function licenseEntryToMarkdown(licenses: LicenseEntry[]) { function findLicenseFile (line 142) | function findLicenseFile(pkgDir: string) { FILE: packages/vite/src/node/plugins/manifest.ts type Manifest (line 12) | type Manifest = Record type ManifestChunk (line 14) | interface ManifestChunk { function manifestPlugin (line 60) | function manifestPlugin(): Plugin { function getChunkOriginalFileName (line 174) | function getChunkOriginalFileName( FILE: packages/vite/src/node/plugins/modulePreloadPolyfill.ts function modulePreloadPolyfillPlugin (line 9) | function modulePreloadPolyfillPlugin(config: ResolvedConfig): Plugin { FILE: packages/vite/src/node/plugins/optimizedDeps.ts function optimizedDepsPlugin (line 20) | function optimizedDepsPlugin(): Plugin { function throwProcessingError (line 101) | function throwProcessingError(id: string): never { function throwOutdatedRequest (line 112) | function throwOutdatedRequest(id: string): never { function throwFileNotFoundInOptimizedDep (line 123) | function throwFileNotFoundInOptimizedDep(id: string): never { FILE: packages/vite/src/node/plugins/oxc.ts constant IIFE_BEGIN_RE (line 22) | const IIFE_BEGIN_RE: RegExp = constant UMD_BEGIN_RE (line 25) | const UMD_BEGIN_RE: RegExp = type OxcOptions (line 31) | interface OxcOptions extends Omit< function getRollupJsxPresets (line 49) | function getRollupJsxPresets( function joinNewLine (line 71) | function joinNewLine(s1: string, s2: string): string { function getErrorMessage (line 77) | function getErrorMessage(e: RolldownError): string { function transformWithOxc (line 120) | async function transformWithOxc( function shouldSkipWarning (line 202) | function shouldSkipWarning(warning: RolldownLog): boolean { function oxcPlugin (line 210) | function oxcPlugin(config: ResolvedConfig): Plugin { type OxcJsxOptions (line 343) | type OxcJsxOptions = Exclude function convertEsbuildConfigToOxcConfig (line 345) | function convertEsbuildConfigToOxcConfig( function warnDeprecatedShouldBeConvertedToPluginOptions (line 408) | function warnDeprecatedShouldBeConvertedToPluginOptions( FILE: packages/vite/src/node/plugins/pluginFilter.ts type PluginFilter (line 7) | type PluginFilter = (input: string) => boolean type TransformHookFilter (line 8) | type TransformHookFilter = ( type StringFilter (line 14) | type StringFilter = type NormalizedStringFilter (line 22) | type NormalizedStringFilter = { function getMatcherString (line 27) | function getMatcherString(glob: string, cwd: string) { function patternToIdFilter (line 36) | function patternToIdFilter( function patternToCodeFilter (line 57) | function patternToCodeFilter(pattern: string | RegExp): PluginFilter { function createFilter (line 68) | function createFilter( function normalizeFilter (line 87) | function normalizeFilter(filter: StringFilter): NormalizedStringFilter { function createIdFilter (line 104) | function createIdFilter( function createCodeFilter (line 115) | function createCodeFilter( function createModuleTypeFilter (line 125) | function createModuleTypeFilter( function createFilterForTransform (line 133) | function createFilterForTransform( FILE: packages/vite/src/node/plugins/preAlias.ts function preAliasPlugin (line 24) | function preAliasPlugin(config: ResolvedConfig): Plugin { function optimizeAliasReplacementForSSR (line 87) | function optimizeAliasReplacementForSSR( function matches (line 104) | function matches(pattern: string | RegExp, importee: string) { function getAliasPatterns (line 117) | function getAliasPatterns( function getAliasPatternMatcher (line 126) | function getAliasPatternMatcher( FILE: packages/vite/src/node/plugins/prepareOutDir.ts function prepareOutDirPlugin (line 10) | function prepareOutDirPlugin(): Plugin { function prepareOutDir (line 46) | function prepareOutDir( function areSeparateFolders (line 94) | function areSeparateFolders(a: string, b: string) { FILE: packages/vite/src/node/plugins/reporter.ts function buildReporterPlugin (line 7) | function buildReporterPlugin(config: ResolvedConfig): Plugin { FILE: packages/vite/src/node/plugins/resolve.ts constant ERR_RESOLVE_PACKAGE_ENTRY_FAIL (line 59) | const ERR_RESOLVE_PACKAGE_ENTRY_FAIL = 'ERR_RESOLVE_PACKAGE_ENTRY_FAIL' type EnvironmentResolveOptions (line 76) | interface EnvironmentResolveOptions { type ResolveOptions (line 107) | interface ResolveOptions extends EnvironmentResolveOptions { type ResolvePluginOptions (line 121) | interface ResolvePluginOptions { type InternalResolveOptions (line 175) | interface InternalResolveOptions type ResolvePluginOptionsWithOverrides (line 180) | interface ResolvePluginOptionsWithOverrides method buildStart (line 197) | buildStart() { method applyToEnvironment (line 217) | applyToEnvironment(environment) { function oxcResolvePlugin (line 224) | function oxcResolvePlugin( function optimizerResolvePlugin (line 387) | function optimizerResolvePlugin( function resolveSubpathImports (line 491) | function resolveSubpathImports( function ensureVersionQuery (line 522) | function ensureVersionQuery( function tryFsResolve (line 550) | function tryFsResolve( function tryCleanFsResolve (line 578) | function tryCleanFsResolve( function tryNodeResolve (line 687) | function tryNodeResolve( function tryOptimizedResolve (line 848) | async function tryOptimizedResolve( function resolvePackageEntry (line 903) | function resolvePackageEntry( function packageEntryFailure (line 993) | function packageEntryFailure(id: string, details?: string) { function getConditions (line 1003) | function getConditions( function resolveExportsOrImports (line 1024) | function resolveExportsOrImports( function resolveDeepImport (line 1042) | function resolveDeepImport( function tryResolveBrowserEntry (line 1111) | function tryResolveBrowserEntry( function mapWithBrowserField (line 1166) | function mapWithBrowserField( function equalWithoutSuffix (line 1184) | function equalWithoutSuffix(path: string, key: string, suffix: string) { function tryResolveRealFile (line 1188) | function tryResolveRealFile( function tryResolveRealFileWithExtensions (line 1196) | function tryResolveRealFileWithExtensions( function tryResolveRealFileOrType (line 1207) | function tryResolveRealFileOrType( function getRealPath (line 1221) | function getRealPath(resolved: string, preserveSymlinks?: boolean): stri... function isDirectory (line 1228) | function isDirectory(path: string): boolean { function findNearestPackagePath (line 1233) | function findNearestPackagePath( FILE: packages/vite/src/node/plugins/terser.ts type TerserOptions (line 12) | interface TerserOptions extends TerserMinifyOptions { function loadTerserPath (line 23) | function loadTerserPath(root: string) { function terserPlugin (line 38) | function terserPlugin(config: ResolvedConfig): Plugin { FILE: packages/vite/src/node/plugins/wasm.ts method handler (line 82) | handler(id) { method handler (line 89) | async handler(id) { method handler (line 116) | async handler(code, chunk, opts, meta) { FILE: packages/vite/src/node/plugins/worker.ts type WorkerBundle (line 30) | type WorkerBundle = { type WorkerBundleAsset (line 38) | type WorkerBundleAsset = { class WorkerOutputCache (line 46) | class WorkerOutputCache { method saveWorkerBundle (line 60) | saveWorkerBundle( method saveAsset (line 83) | saveAsset(asset: WorkerBundleAsset, logger: Logger) { method invalidateAffectedBundles (line 98) | invalidateAffectedBundles(file: string) { method removeBundleIfInvalidated (line 106) | removeBundleIfInvalidated(file: string) { method removeBundle (line 113) | private removeBundle(file: string) { method getWorkerBundle (line 131) | getWorkerBundle(file: string) { method getAssets (line 135) | getAssets() { method getEntryFilenameFromHash (line 139) | getEntryFilenameFromHash(hash: string) { method generateEntryUrlPlaceholder (line 143) | private generateEntryUrlPlaceholder(entryFilename: string): string { type WorkerType (line 152) | type WorkerType = 'classic' | 'module' | 'ignore' constant WORKER_FILE_ID (line 159) | const WORKER_FILE_ID = 'worker_file' function bundleWorkerEntry (line 162) | async function bundleWorkerEntry( function workerFileToUrl (line 300) | async function workerFileToUrl( function webWorkerPostPlugin (line 318) | function webWorkerPostPlugin(config: ResolvedConfig): Plugin { function webWorkerPlugin (line 384) | function webWorkerPlugin(config: ResolvedConfig): Plugin { function isSameContent (line 666) | function isSameContent(a: string | Uint8Array, b: string | Uint8Array) { FILE: packages/vite/src/node/plugins/workerImportMetaUrl.ts type WorkerOptions (line 20) | interface WorkerOptions { function err (line 24) | function err(e: string, pos: number) { function findClosingParen (line 30) | function findClosingParen(input: string, fromIndex: number) { function extractWorkerTypeFromAst (line 42) | function extractWorkerTypeFromAst( function parseWorkerOptions (line 96) | async function parseWorkerOptions( function getWorkerType (line 135) | async function getWorkerType( function workerImportMetaUrlPlugin (line 187) | function workerImportMetaUrlPlugin(config: ResolvedConfig): Plugin { FILE: packages/vite/src/node/preview.ts type PreviewOptions (line 50) | interface PreviewOptions extends CommonServerOptions {} type ResolvedPreviewOptions (line 52) | interface ResolvedPreviewOptions extends RequiredExceptFor< function resolvePreviewOptions (line 57) | function resolvePreviewOptions( type PreviewServer (line 77) | interface PreviewServer { type PreviewServerHook (line 118) | type PreviewServerHook = ( function preview (line 126) | async function preview( FILE: packages/vite/src/node/publicDir.ts function initPublicFiles (line 13) | async function initPublicFiles( function getPublicFiles (line 32) | function getPublicFiles(config: ResolvedConfig): Set | undefined { function checkPublicFile (line 36) | function checkPublicFile( FILE: packages/vite/src/node/server/__tests__/pluginContainer.spec.ts method resolveId (line 17) | resolveId(id) { method load (line 26) | load(id) { method transform (line 34) | transform(_code, id) { method buildEnd (line 42) | buildEnd() { method resolveId (line 72) | resolveId(id) { method load (line 81) | load(id) { method resolveId (line 105) | resolveId(id) { method resolveId (line 117) | resolveId(id, importer, opts) { method load (line 129) | load(id) { method options (line 151) | options() { method options (line 169) | options() { method options (line 184) | options() { method resolveId (line 202) | resolveId(id) { method load (line 205) | load(id) { method transform (line 209) | async transform(code, id) { method resolveId (line 238) | resolveId(id) { method load (line 241) | load(id) { method transform (line 245) | async transform(_code, id) { method load (line 270) | load() { method load (line 289) | load() { method load (line 309) | load() { method resolveId (line 333) | async resolveId(id, importer) { method resolveId (line 350) | async resolveId(id, importer) { method resolveId (line 359) | async resolveId(id, importer) { method resolveId (line 375) | async resolveId(id, importer) { method resolveId (line 385) | async resolveId(id, importer) { method resolveId (line 399) | async resolveId(id, importer) { method resolveId (line 409) | async resolveId(id, importer) { method resolveId (line 417) | resolveId(id) { function getDevEnvironment (line 432) | async function getDevEnvironment( FILE: packages/vite/src/node/server/environment.ts type DevEnvironmentContext (line 43) | interface DevEnvironmentContext { class DevEnvironment (line 55) | class DevEnvironment extends BaseEnvironment { method pluginContainer (line 65) | get pluginContainer(): EnvironmentPluginContainer { method constructor (line 105) | constructor( method init (line 181) | async init(options?: { method listen (line 207) | async listen(server: ViteDevServer): Promise { method fetchModule (line 213) | fetchModule( method reloadModule (line 224) | async reloadModule(module: EnvironmentModuleNode): Promise { method transformRequest (line 230) | transformRequest( method warmupRequest (line 238) | async warmupRequest(url: string): Promise { method invalidateModule (line 260) | protected invalidateModule( method close (line 293) | async close(): Promise { method waitForRequestsIdle (line 322) | waitForRequestsIdle(ignoredId?: string): Promise { method _registerRequestProcessing (line 329) | _registerRequestProcessing(id: string, done: () => Promise): ... type CrawlEndFinder (line 336) | interface CrawlEndFinder { function setupOnCrawlEnd (line 342) | function setupOnCrawlEnd(): CrawlEndFinder { FILE: packages/vite/src/node/server/environments/fetchableEnvironments.ts type FetchableDevEnvironmentContext (line 6) | interface FetchableDevEnvironmentContext extends DevEnvironmentContext { function createFetchableDevEnvironment (line 10) | function createFetchableDevEnvironment( function isFetchableDevEnvironment (line 30) | function isFetchableDevEnvironment( class FetchableDevEnvironment (line 36) | class FetchableDevEnvironment extends DevEnvironment { method constructor (line 39) | constructor( method dispatchFetch (line 48) | public async dispatchFetch(request: Request): Promise { FILE: packages/vite/src/node/server/environments/fullBundleEnvironment.ts type HmrOutput (line 22) | type HmrOutput = BindingClientHmrUpdate['update'] type MemoryFile (line 24) | type MemoryFile = { class MemoryFiles (line 29) | class MemoryFiles { method size (line 32) | get size(): number { method get (line 36) | get(file: string): MemoryFile | undefined { method set (line 49) | set(file: string, content: MemoryFile | (() => MemoryFile)): void { method has (line 53) | has(file: string): boolean { method clear (line 57) | clear(): void { class FullBundleDevEnvironment (line 62) | class FullBundleDevEnvironment extends DevEnvironment { method constructor (line 76) | constructor( method listen (line 90) | override async listen(_server: ViteDevServer): Promise { method waitForInitialBuildFinish (line 190) | private async waitForInitialBuildFinish(): Promise { method warmupRequest (line 198) | override async warmupRequest(_url: string): Promise { method invalidateModule (line 202) | protected override invalidateModule( method triggerBundleRegenerationIfStale (line 260) | async triggerBundleRegenerationIfStale(): Promise { method close (line 273) | override async close(): Promise { method getRolldownOptions (line 278) | private async getRolldownOptions() { method handleHmrOutput (line 312) | private handleHmrOutput( class Clients (line 370) | class Clients { method setupIfNeeded (line 374) | setupIfNeeded(client: NormalizedHotChannelClient): string { method get (line 384) | get(id: string): NormalizedHotChannelClient | undefined { method getAll (line 388) | getAll(): NormalizedHotChannelClient[] { method delete (line 392) | delete(client: NormalizedHotChannelClient): string | undefined { function debounce (line 402) | function debounce(time: number, cb: () => void) { FILE: packages/vite/src/node/server/environments/runnableEnvironment.ts function createRunnableDevEnvironment (line 10) | function createRunnableDevEnvironment( type RunnableDevEnvironmentContext (line 25) | interface RunnableDevEnvironmentContext extends Omit< function isRunnableDevEnvironment (line 37) | function isRunnableDevEnvironment( class RunnableDevEnvironment (line 43) | class RunnableDevEnvironment extends DevEnvironment { method constructor (line 53) | constructor( method runner (line 63) | get runner(): ModuleRunner { method close (line 72) | override async close(): Promise { FILE: packages/vite/src/node/server/hmr.ts type HmrOptions (line 43) | interface HmrOptions { type HotUpdateOptions (line 54) | interface HotUpdateOptions { type HmrContext (line 63) | interface HmrContext { type PropagationBoundary (line 71) | interface PropagationBoundary { type HotChannelClient (line 77) | interface HotChannelClient { type HotChannelListener (line 81) | type HotChannelListener = ( type HotChannel (line 86) | interface HotChannel { function getShortName (line 112) | function getShortName(file: string, root: string): string { type NormalizedHotChannelClient (line 118) | interface NormalizedHotChannelClient { type NormalizedHotChannel (line 129) | interface NormalizedHotChannel { method setInvokeHandler (line 270) | setInvokeHandler(_invokeHandlers) { method listen (line 322) | listen() { method close (line 325) | close() { function getSortedPluginsByHotUpdateHook (line 331) | function getSortedPluginsByHotUpdateHook( function getSortedHotUpdatePlugins (line 361) | function getSortedHotUpdatePlugins(environment: Environment): Plugin[] { function handleHMRUpdate (line 370) | async function handleHMRUpdate( type HasDeadEnd (line 630) | type HasDeadEnd = string | boolean function updateModules (line 632) | function updateModules( function areAllImportsAccepted (line 744) | function areAllImportsAccepted( function propagateUpdate (line 756) | function propagateUpdate( function isNodeWithinCircularImports (line 855) | function isNodeWithinCircularImports( function handlePrunedModules (line 923) | function handlePrunedModules( type LexerState (line 942) | const enum LexerState { function lexAcceptedHmrDeps (line 957) | function lexAcceptedHmrDeps( function lexAcceptedHmrExports (line 1061) | function lexAcceptedHmrExports( function normalizeHmrUrl (line 1074) | function normalizeHmrUrl(url: string): string { function error (line 1081) | function error(pos: number) { function readModifiedFile (line 1093) | async function readModifiedFile(file: string): Promise { type ServerHotChannelApi (line 1112) | type ServerHotChannelApi = { type ServerHotChannel (line 1117) | type ServerHotChannel = HotChannel type NormalizedServerHotChannel (line 1118) | type NormalizedServerHotChannel = function createServerHotChannel (line 1121) | function createServerHotChannel(): ServerHotChannel { FILE: packages/vite/src/node/server/index.ts type ServerOptions (line 114) | interface ServerOptions extends CommonServerOptions { type ResolvedServerOptions (line 209) | interface ResolvedServerOptions extends Omit< type FileSystemServeOptions (line 232) | interface FileSystemServeOptions { type ServerHook (line 261) | type ServerHook = ( type HttpServer (line 266) | type HttpServer = http.Server | Http2SecureServer function resolveForwardConsoleOptions (line 268) | async function resolveForwardConsoleOptions( type ViteDevServer (line 299) | interface ViteDevServer { type ResolvedServerUrls (line 465) | interface ResolvedServerUrls { function createServer (line 470) | function createServer( function _createServer (line 476) | async function _createServer( function startServer (line 1081) | async function startServer( function createServerCloseFn (line 1111) | function createServerCloseFn( function resolvedAllowDir (line 1149) | function resolvedAllowDir(root: string, dir: string): string { function resolveServerOptions (line 1187) | async function resolveServerOptions( function restartServer (line 1272) | async function restartServer(server: ViteDevServer) { function restartServerWithUrls (line 1355) | async function restartServerWithUrls( FILE: packages/vite/src/node/server/middlewares/base.ts function baseMiddleware (line 7) | function baseMiddleware( FILE: packages/vite/src/node/server/middlewares/error.ts function prepareError (line 11) | function prepareError(err: Error | RollupError): ErrorPayload['err'] { function buildErrorMessage (line 25) | function buildErrorMessage( function cleanStack (line 38) | function cleanStack(stack: string) { function logError (line 45) | function logError(server: ViteDevServer, err: RollupError): void { function errorMiddleware (line 62) | function errorMiddleware( FILE: packages/vite/src/node/server/middlewares/hostCheck.ts function getAdditionalAllowedHosts (line 5) | function getAdditionalAllowedHosts( function hostValidationMiddleware (line 46) | function hostValidationMiddleware( FILE: packages/vite/src/node/server/middlewares/htmlFallback.ts function htmlFallbackMiddleware (line 11) | function htmlFallbackMiddleware( FILE: packages/vite/src/node/server/middlewares/indexHtml.ts type AssetNode (line 56) | interface AssetNode { type InlineStyleAttribute (line 62) | interface InlineStyleAttribute { function createDevHtmlTransformFn (line 68) | function createDevHtmlTransformFn( function getHtmlFilename (line 109) | function getHtmlFilename(url: string, server: ViteDevServer) { function shouldPreTransform (line 119) | function shouldPreTransform(url: string, config: ResolvedConfig) { function isBareRelative (line 127) | function isBareRelative(url: string) { function indexHtmlMiddleware (line 442) | function indexHtmlMiddleware( function preTransformRequest (line 546) | function preTransformRequest( function generateFallbackHtml (line 558) | async function generateFallbackHtml(server: ViteDevServer) { FILE: packages/vite/src/node/server/middlewares/memoryFiles.ts function memoryFilesMiddleware (line 7) | function memoryFilesMiddleware( FILE: packages/vite/src/node/server/middlewares/notFound.ts function notFoundMiddleware (line 3) | function notFoundMiddleware(): Connect.NextHandleFunction { FILE: packages/vite/src/node/server/middlewares/proxy.ts type ProxyOptions (line 11) | interface ProxyOptions extends httpProxy.ServerOptions { function proxyMiddleware (line 75) | function proxyMiddleware( function doesProxyContextMatchUrl (line 231) | function doesProxyContextMatchUrl(context: string, url: string): boolean { FILE: packages/vite/src/node/server/middlewares/rejectInvalidRequest.ts function rejectInvalidRequestMiddleware (line 6) | function rejectInvalidRequestMiddleware(): Connect.NextHandleFunction { FILE: packages/vite/src/node/server/middlewares/rejectNoCorsRequest.ts function rejectNoCorsRequestMiddleware (line 17) | function rejectNoCorsRequestMiddleware(): Connect.NextHandleFunction { FILE: packages/vite/src/node/server/middlewares/static.ts constant ERR_DENIED_FILE (line 30) | const ERR_DENIED_FILE = 'ERR_DENIED_FILE' method setHeaders (line 45) | setHeaders(res, pathname) { function servePublicMiddleware (line 80) | function servePublicMiddleware( function serveStaticMiddleware (line 124) | function serveStaticMiddleware( function serveRawFsMiddleware (line 201) | function serveRawFsMiddleware( function isFileServingAllowed (line 257) | function isFileServingAllowed( function isFileInTargetPath (line 279) | function isFileInTargetPath( function isFileLoadingAllowed (line 292) | function isFileLoadingAllowed( function checkLoadingAccess (line 314) | function checkLoadingAccess( function respondWithAccessDenied (line 329) | function respondWithAccessDenied( function renderRestrictedErrorHTML (line 347) | function renderRestrictedErrorHTML(msg: string): string { FILE: packages/vite/src/node/server/middlewares/time.ts function timeMiddleware (line 7) | function timeMiddleware(root: string): Connect.NextHandleFunction { FILE: packages/vite/src/node/server/middlewares/transform.ts function isDocumentFetchDest (line 49) | function isDocumentFetchDest(req: Connect.IncomingMessage) { function isServerAccessDeniedForTransform (line 60) | function isServerAccessDeniedForTransform(config: ResolvedConfig, id: st... function cachedTransformMiddleware (line 70) | function cachedTransformMiddleware( function transformMiddleware (line 106) | function transformMiddleware( FILE: packages/vite/src/node/server/mixedModuleGraph.ts constant EMPTY_OBJECT (line 18) | const EMPTY_OBJECT = Object.freeze({}) class ModuleNode (line 20) | class ModuleNode { method constructor (line 24) | constructor( method _get (line 33) | _get( method _set (line 38) | _set( method _wrapModuleSet (line 50) | _wrapModuleSet( method _getModuleSetUnion (line 59) | _getModuleSetUnion(prop: 'importedModules' | 'importers'): Set | undefined { method url (line 125) | get url(): string { method url (line 128) | set url(value: string) { method id (line 131) | get id(): string | null { method id (line 134) | set id(value: string | null) { method file (line 137) | get file(): string | null { method file (line 140) | set file(value: string | null) { method type (line 143) | get type(): 'js' | 'css' | 'asset' { method info (line 148) | get info(): ModuleInfo | undefined { method meta (line 151) | get meta(): Record | undefined { method importers (line 154) | get importers(): Set { method clientImportedModules (line 157) | get clientImportedModules(): Set { method ssrImportedModules (line 160) | get ssrImportedModules(): Set { method importedModules (line 163) | get importedModules(): Set { method acceptedHmrDeps (line 166) | get acceptedHmrDeps(): Set { method acceptedHmrExports (line 169) | get acceptedHmrExports(): Set | null { method importedBindings (line 172) | get importedBindings(): Map> | null { method isSelfAccepting (line 175) | get isSelfAccepting(): boolean | undefined { method transformResult (line 178) | get transformResult(): TransformResult | null { method transformResult (line 181) | set transformResult(value: TransformResult | null) { method ssrTransformResult (line 186) | get ssrTransformResult(): TransformResult | null { method ssrTransformResult (line 189) | set ssrTransformResult(value: TransformResult | null) { method ssrModule (line 194) | get ssrModule(): Record | null { method ssrError (line 197) | get ssrError(): Error | null { method lastHMRTimestamp (line 200) | get lastHMRTimestamp(): number { method lastHMRTimestamp (line 206) | set lastHMRTimestamp(value: number) { method lastInvalidationTimestamp (line 214) | get lastInvalidationTimestamp(): number { method invalidationState (line 220) | get invalidationState(): TransformResult | 'HARD_INVALIDATED' | undefi... method ssrInvalidationState (line 223) | get ssrInvalidationState(): TransformResult | 'HARD_INVALIDATED' | und... function mapIterator (line 228) | function mapIterator( class ModuleGraph (line 248) | class ModuleGraph { method _client (line 256) | get _client(): EnvironmentModuleGraph { method _ssr (line 261) | get _ssr(): EnvironmentModuleGraph { method constructor (line 277) | constructor(moduleGraphs: { method getModuleById (line 317) | getModuleById(id: string): ModuleNode | undefined { method getModuleByUrl (line 326) | async getModuleByUrl( method getModulesByFile (line 341) | getModulesByFile(file: string): Set | undefined { method onFileChange (line 366) | onFileChange(file: string): void { method onFileDelete (line 371) | onFileDelete(file: string): void { method _getModuleGraph (line 377) | _getModuleGraph(environment: string): EnvironmentModuleGraph { method invalidateModule (line 388) | invalidateModule( method invalidateAll (line 421) | invalidateAll(): void { method ensureEntryFromUrl (line 442) | async ensureEntryFromUrl( method createFileOnlyEntry (line 454) | createFileOnlyEntry(file: string): ModuleNode { method resolveUrl (line 460) | async resolveUrl(url: string, ssr?: boolean): Promise { method updateModuleTransformResult (line 464) | updateModuleTransformResult( method getModuleByEtag (line 476) | getModuleByEtag(etag: string): ModuleNode | undefined { method getBackwardCompatibleBrowserModuleNode (line 481) | getBackwardCompatibleBrowserModuleNode( method getBackwardCompatibleServerModuleNode (line 490) | getBackwardCompatibleServerModuleNode( method getBackwardCompatibleModuleNode (line 499) | getBackwardCompatibleModuleNode(mod: EnvironmentModuleNode): ModuleNode { method getBackwardCompatibleModuleNodeDual (line 505) | getBackwardCompatibleModuleNodeDual( class DualWeakMap (line 520) | class DualWeakMap { method get (line 524) | get(key1: K1 | undefined, key2: K2 | undefined): V | undefined { method set (line 530) | set(key1: K1 | undefined, key2: K2 | undefined, value: V): void { type ModuleSetNames (line 542) | type ModuleSetNames = 'acceptedHmrDeps' | 'importedModules' function createBackwardCompatibleModuleSet (line 544) | function createBackwardCompatibleModuleSet( function createBackwardCompatibleModuleMap (line 591) | function createBackwardCompatibleModuleMap( function createBackwardCompatibleFileToModulesMap (line 648) | function createBackwardCompatibleFileToModulesMap( FILE: packages/vite/src/node/server/moduleGraph.ts class EnvironmentModuleNode (line 14) | class EnvironmentModuleNode { method constructor (line 74) | constructor(url: string, environment: string, setIsSelfAccepting = tru... type ResolvedUrl (line 84) | type ResolvedUrl = [ class EnvironmentModuleGraph (line 90) | class EnvironmentModuleGraph { method constructor (line 115) | constructor( method getModuleByUrl (line 123) | async getModuleByUrl( method getModuleById (line 137) | getModuleById(id: string): EnvironmentModuleNode | undefined { method getModulesByFile (line 141) | getModulesByFile(file: string): Set | undefined { method onFileChange (line 145) | onFileChange(file: string): void { method onFileDelete (line 155) | onFileDelete(file: string): void { method invalidateModule (line 166) | invalidateModule( method invalidateAll (line 236) | invalidateAll(): void { method updateModuleInfo (line 252) | async updateModuleInfo( method ensureEntryFromUrl (line 333) | async ensureEntryFromUrl( method _ensureEntryFromUrl (line 343) | async _ensureEntryFromUrl( method createFileOnlyEntry (line 395) | createFileOnlyEntry(file: string): EnvironmentModuleNode { method resolveUrl (line 421) | async resolveUrl(url: string): Promise { method updateModuleTransformResult (line 430) | updateModuleTransformResult( method getModuleByEtag (line 443) | getModuleByEtag(etag: string): EnvironmentModuleNode | undefined { method _getUnresolvedUrlToModule (line 450) | _getUnresolvedUrlToModule( method _setUnresolvedUrlToModule (line 458) | _setUnresolvedUrlToModule( method _resolveUrl (line 468) | async _resolveUrl( FILE: packages/vite/src/node/server/openBrowser.ts function openBrowser (line 24) | function openBrowser( function executeNodeScript (line 42) | function executeNodeScript(scriptPath: string, url: string, logger: Logg... function startBrowserProcess (line 72) | async function startBrowserProcess( function execAsync (line 139) | function execAsync(command: string, options?: ExecOptions): Promise { method constructor (line 201) | constructor( method _updateModuleLoadAddedImports (line 219) | private _updateModuleLoadAddedImports( method _getAddedImports (line 229) | private _getAddedImports(id: string): Set | null { method getModuleInfo (line 236) | getModuleInfo(id: string): ModuleInfo | null { method handleHookPromise (line 266) | private handleHookPromise(maybePromise: undefined | T | Promise) { method options (line 275) | get options(): InputOptions { method resolveRollupOptions (line 279) | async resolveRollupOptions(): Promise { method _getPluginContext (line 296) | private _getPluginContext(plugin: Plugin) { method hookParallel (line 304) | private async hookParallel { method resolveId (line 352) | async resolveId( method load (line 478) | async load(id: string): Promise { method transform (line 529) | async transform( method watchChange (line 622) | async watchChange( method close (line 638) | async close(): Promise { class BasicMinimalPluginContext (line 670) | class BasicMinimalPluginContext { method constructor (line 671) | constructor( method pluginName (line 678) | get pluginName(): string { method debug (line 682) | debug(rawLog: string | RollupLog | (() => string | RollupLog)): void { method info (line 688) | info(rawLog: string | RollupLog | (() => string | RollupLog)): void { method warn (line 694) | warn(rawLog: string | RollupLog | (() => string | RollupLog)): void { method error (line 704) | error(e: string | RollupError): never { method _normalizeRawLog (line 709) | private _normalizeRawLog( class MinimalPluginContext (line 717) | class MinimalPluginContext method constructor (line 722) | constructor(meta: PluginContextMeta, environment: T) { class PluginContext (line 744) | class PluginContext method pluginName (line 755) | override get pluginName(): string { method constructor (line 759) | constructor( method parse (line 768) | parse(code: string, opts: any): ESTree.Program { method resolve (line 772) | async resolve( method load (line 816) | async load( method getModuleInfo (line 842) | getModuleInfo(id: string): ModuleInfo | null { method _updateModuleInfo (line 846) | _updateModuleInfo(id: string, { meta }: { meta?: object | null }): void { method getModuleIds (line 855) | getModuleIds(): IterableIterator { method addWatchFile (line 861) | addWatchFile(id: string): void { method getWatchFiles (line 871) | getWatchFiles(): string[] { method emitFile (line 875) | emitFile(_assetOrFile: EmittedFile): string { method setAssetSource (line 880) | setAssetSource(): void { method getFileName (line 884) | getFileName(): string { method debug (line 889) | override debug(log: string | RollupLog | (() => string | RollupLog)): ... method info (line 894) | override info(log: string | RollupLog | (() => string | RollupLog)): v... method warn (line 899) | override warn( method error (line 910) | override error( method _formatLog (line 919) | private _formatLog( method _warnIncompatibleMethod (line 1021) | _warnIncompatibleMethod(method: string): void { class ResolveIdContext (line 1033) | class ResolveIdContext extends PluginContext { method constructor (line 1034) | constructor( class LoadPluginContext (line 1047) | class LoadPluginContext extends PluginContext { method constructor (line 1050) | constructor(container: EnvironmentPluginContainer) { method addWatchFile (line 1054) | override addWatchFile(id: string): void { class TransformPluginContext (line 1063) | class TransformPluginContext method constructor (line 1073) | constructor( method _getCombinedSourcemap (line 1092) | _getCombinedSourcemap(): SourceMap | { mappings: '' } | null { method getCombinedSourcemap (line 1156) | getCombinedSourcemap(): SourceMap { method _updateActiveInfo (line 1168) | _updateActiveInfo(plugin: Plugin, id: string, code: string): void { class PluginContainer (line 1182) | class PluginContainer { method constructor (line 1183) | constructor(private environments: Record) {} method _getEnvironment (line 1188) | private _getEnvironment(options?: { method _getPluginContainer (line 1197) | private _getPluginContainer(options?: { method getModuleInfo (line 1204) | getModuleInfo(id: string): ModuleInfo | null { method options (line 1242) | get options(): InputOptions { method buildStart (line 1250) | async buildStart(_options?: InputOptions): Promise { method watchChange (line 1256) | async watchChange( method resolveId (line 1265) | async resolveId( method load (line 1285) | async load( method transform (line 1294) | async transform( method close (line 1306) | async close(): Promise { function createPluginContainer (line 1320) | function createPluginContainer( FILE: packages/vite/src/node/server/searchRoot.ts constant ROOT_FILES (line 6) | const ROOT_FILES = [ function hasWorkspacePackageJSON (line 25) | function hasWorkspacePackageJSON(root: string): boolean { function hasRootFile (line 38) | function hasRootFile(root: string): boolean { function hasPackageJSON (line 42) | function hasPackageJSON(root: string) { function searchForPackageRoot (line 50) | function searchForPackageRoot( function searchForWorkspaceRoot (line 66) | function searchForWorkspaceRoot( FILE: packages/vite/src/node/server/send.ts type SendOptions (line 25) | interface SendOptions { function send (line 32) | function send( FILE: packages/vite/src/node/server/sourcemap.ts type SourceMapLike (line 19) | interface SourceMapLike { function computeSourceRoute (line 25) | async function computeSourceRoute(map: SourceMapLike, file: string) { function injectSourcesContent (line 36) | async function injectSourcesContent( function genSourceMapUrl (line 87) | function genSourceMapUrl(map: SourceMap | string): string { function getCodeWithSourcemap (line 94) | function getCodeWithSourcemap( function applySourcemapIgnoreList (line 112) | function applySourcemapIgnoreList( function extractSourcemapFromFile (line 153) | function extractSourcemapFromFile( function createConvertSourceMapReadMap (line 173) | function createConvertSourceMapReadMap(originalFileName: string) { FILE: packages/vite/src/node/server/transformRequest.ts constant ERR_LOAD_URL (line 39) | const ERR_LOAD_URL = 'ERR_LOAD_URL' constant ERR_LOAD_PUBLIC_URL (line 40) | const ERR_LOAD_PUBLIC_URL = 'ERR_LOAD_PUBLIC_URL' constant ERR_DENIED_ID (line 41) | const ERR_DENIED_ID = 'ERR_DENIED_ID' type TransformResult (line 47) | interface TransformResult { type TransformOptions (line 56) | interface TransformOptions { type TransformOptionsInternal (line 63) | interface TransformOptionsInternal { function transformRequest (line 77) | function transformRequest( function doTransform (line 149) | async function doTransform( function getCachedTransformResult (line 208) | async function getCachedTransformResult( function loadAndTransform (line 236) | async function loadAndTransform( function handleModuleSoftInvalidation (line 448) | async function handleModuleSoftInvalidation( function getModuleTypeFromId (line 551) | function getModuleTypeFromId(id: string): ModuleType | undefined { FILE: packages/vite/src/node/server/warmup.ts function warmupFiles (line 10) | function warmupFiles( function warmupFile (line 22) | async function warmupFile( function htmlFileToUrl (line 55) | function htmlFileToUrl(file: string, root: string) { function fileToUrl (line 63) | function fileToUrl(file: string, root: string) { function mapFiles (line 73) | async function mapFiles(files: string[], root: string) { FILE: packages/vite/src/node/server/ws.ts constant HMR_HEADER (line 34) | const HMR_HEADER = 'vite-hmr' type WebSocketCustomListener (line 36) | type WebSocketCustomListener = ( type WebSocketServer (line 43) | interface WebSocketServer extends NormalizedHotChannel { type WebSocketClient (line 75) | interface WebSocketClient extends NormalizedHotChannelClient { function noop (line 91) | function noop() { function hasValidToken (line 104) | function hasValidToken(config: ResolvedConfig, url: URL) { function createWebSocketServer (line 118) | function createWebSocketServer( FILE: packages/vite/src/node/shortcuts.ts type ShortcutsState (line 9) | type ShortcutsState = { type BindCLIShortcutsOptions (line 14) | type BindCLIShortcutsOptions = { type CLIShortcut (line 27) | type CLIShortcut = { function bindCLIShortcuts (line 33) | function bindCLIShortcuts( constant BASE_DEV_SHORTCUTS (line 128) | const BASE_DEV_SHORTCUTS: CLIShortcut[] = [ method action (line 132) | async action(server) { method action (line 139) | action(server) { method action (line 147) | action(server) { method action (line 154) | action(server) { method action (line 161) | async action(server) { constant BASE_PREVIEW_SHORTCUTS (line 171) | const BASE_PREVIEW_SHORTCUTS: CLIShortcut[] = [ method action (line 175) | action(server) { method action (line 188) | async action(server) { FILE: packages/vite/src/node/ssr/__tests__/fixtures/bundled-with-sourcemaps/bundle.js function covered$1 (line 1) | function covered$1() { function uncovered$1 (line 5) | function uncovered$1() { function covered (line 15) | function covered() { function uncovered (line 19) | function uncovered() { FILE: packages/vite/src/node/ssr/__tests__/fixtures/multi-source-sourcemaps/dist.js function entrypoint (line 6) | function entrypoint() { FILE: packages/vite/src/node/ssr/__tests__/fixtures/multi-source-sourcemaps/entrypoint.js function entrypoint (line 9) | function entrypoint() { FILE: packages/vite/src/node/ssr/__tests__/ssrLoadModule.spec.ts function createDevServer (line 12) | async function createDevServer() { method resolveId (line 80) | resolveId(id) { method load (line 85) | load(id) { method resolveId (line 122) | resolveId(id) { method load (line 127) | load(id) { method resolveId (line 138) | resolveId(id) { method load (line 143) | load(id) { function stripRoot (line 191) | function stripRoot(s?: string) { method resolveId (line 267) | resolveId(source) { method load (line 272) | load(id) { method buildStart (line 358) | async buildStart() { method resolveId (line 363) | resolveId(source) { method load (line 369) | load(id) { method transform (line 375) | transform(code, id) { FILE: packages/vite/src/node/ssr/__tests__/ssrStacktrace.spec.ts function createDevServer (line 7) | async function createDevServer() { FILE: packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts function readFixture (line 613) | function readFixture(filename: string) { function readFixture (line 638) | function readFixture(filename: string) { method resolveId (line 1513) | resolveId(source) { method load (line 1518) | load(id) { FILE: packages/vite/src/node/ssr/fetchModule.ts type FetchModuleOptions (line 14) | interface FetchModuleOptions { function fetchModule (line 24) | async function fetchModule( constant OTHER_SOURCE_MAP_REGEXP (line 118) | const OTHER_SOURCE_MAP_REGEXP = new RegExp( function inlineSourceMap (line 123) | function inlineSourceMap( FILE: packages/vite/src/node/ssr/index.ts type SSRTarget (line 4) | type SSRTarget = 'node' | 'webworker' type SsrDepOptimizationConfig (line 6) | type SsrDepOptimizationConfig = DepOptimizationConfig type SSROptions (line 8) | interface SSROptions { type ResolvedSSROptions (line 51) | interface ResolvedSSROptions extends SSROptions { function resolveSSROptions (line 66) | function resolveSSROptions( FILE: packages/vite/src/node/ssr/runnerImport.ts type RunnerImportResult (line 6) | interface RunnerImportResult { function runnerImport (line 15) | async function runnerImport( FILE: packages/vite/src/node/ssr/runtime/__tests__/fixtures/cyclic/action.js function someAction (line 1) | function someAction() {} FILE: packages/vite/src/node/ssr/runtime/__tests__/fixtures/cyclic/entry-cyclic.js function main (line 1) | async function main() { FILE: packages/vite/src/node/ssr/runtime/__tests__/fixtures/cyclic/entry.js function setupCyclic (line 1) | async function setupCyclic() { function importAction (line 6) | async function importAction(id) { FILE: packages/vite/src/node/ssr/runtime/__tests__/fixtures/has-error-deep.ts function crash (line 1) | function crash(message: string) { function main (line 5) | function main(): void { FILE: packages/vite/src/node/ssr/runtime/__tests__/fixtures/invalid-package/test.js function test (line 1) | async function test() { FILE: packages/vite/src/node/ssr/runtime/__tests__/fixtures/live-binding/test1/dep.js function f (line 1) | function f() { function update (line 9) | function update() { FILE: packages/vite/src/node/ssr/runtime/__tests__/fixtures/live-binding/test2/dep.js function f (line 1) | function f() { function update (line 11) | function update() { FILE: packages/vite/src/node/ssr/runtime/__tests__/fixtures/live-binding/test3/dep.js function f (line 1) | function f() { function update (line 11) | function update() { FILE: packages/vite/src/node/ssr/runtime/__tests__/fixtures/live-binding/test4/dep.js class C (line 1) | class C { function update (line 13) | function update() { FILE: packages/vite/src/node/ssr/runtime/__tests__/fixtures/no-this/importee.js function foo (line 1) | function foo() { FILE: packages/vite/src/node/ssr/runtime/__tests__/fixtures/oxc-runtime-helper.ts function html (line 1) | function html(strings: TemplateStringsArray, ...values: unknown[]) { FILE: packages/vite/src/node/ssr/runtime/__tests__/fixtures/pre-source-mapped-file.js function testStack (line 2) | function testStack() { function innerTestStack (line 6) | function innerTestStack() { FILE: packages/vite/src/node/ssr/runtime/__tests__/fixtures/string-literal-sourcemap.ts function getMessage (line 6) | function getMessage() { function throwError (line 10) | function throwError() { FILE: packages/vite/src/node/ssr/runtime/__tests__/fixtures/throws-error-method.ts type Foo (line 1) | interface Foo { function throwError (line 5) | function throwError(foo?: Foo): void { FILE: packages/vite/src/node/ssr/runtime/__tests__/fixtures/worker.invoke.mjs method invoke (line 30) | invoke(data) { FILE: packages/vite/src/node/ssr/runtime/__tests__/fixtures/worker.mjs method connect (line 19) | connect({ onMessage, onDisconnection }) { method send (line 23) | send(data) { FILE: packages/vite/src/node/ssr/runtime/__tests__/server-runtime.spec.ts method resolveId (line 442) | resolveId(source) { method load (line 450) | load(id) { method resolveId (line 482) | resolveId(source) { method load (line 487) | load(id) { FILE: packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts class Evaluator (line 144) | class Evaluator extends ESModulesEvaluator { method runInlinedModule (line 145) | async runInlinedModule(_: ModuleRunnerContext, __: string) { FILE: packages/vite/src/node/ssr/runtime/__tests__/server-worker-runner.invoke.spec.ts function run (line 68) | async function run(id: string) { FILE: packages/vite/src/node/ssr/runtime/__tests__/server-worker-runner.spec.ts method send (line 13) | send(payload: HotPayload) { FILE: packages/vite/src/node/ssr/runtime/__tests__/utils.ts type TestClient (line 14) | interface TestClient { function createModuleRunnerTester (line 20) | async function createModuleRunnerTester( type FixtureEditor (line 106) | type FixtureEditor = { function createFixtureEditor (line 110) | function createFixtureEditor(): FixtureEditor { function resolvePath (line 128) | function resolvePath(baseUrl: string, path: string): string { FILE: packages/vite/src/node/ssr/runtime/serverModuleRunner.ts type ServerModuleRunnerOptions (line 19) | interface ServerModuleRunnerOptions extends Omit< function createHMROptions (line 37) | function createHMROptions( method retrieveFile (line 51) | retrieveFile(id: string) { function resolveSourceMapOptions (line 58) | function resolveSourceMapOptions(options: ServerModuleRunnerOptions) { method connect (line 91) | connect({ onMessage }) { method disconnect (line 101) | disconnect() { method send (line 111) | send(payload) { function createServerModuleRunner (line 130) | function createServerModuleRunner( FILE: packages/vite/src/node/ssr/ssrManifestPlugin.ts function ssrManifestPlugin (line 19) | function ssrManifestPlugin(): Plugin { FILE: packages/vite/src/node/ssr/ssrModuleLoader.ts type SSRModule (line 17) | type SSRModule = Record function ssrLoadModule (line 19) | async function ssrLoadModule( function instantiateModule (line 41) | async function instantiateModule( class SSRCompatModuleRunner (line 75) | class SSRCompatModuleRunner extends ModuleRunner { method constructor (line 76) | constructor(private environment: DevEnvironment) { method directRequest (line 90) | protected override async directRequest( FILE: packages/vite/src/node/ssr/ssrStacktrace.ts function calculateOffsetOnce (line 7) | function calculateOffsetOnce() { function ssrRewriteStacktrace (line 23) | function ssrRewriteStacktrace( function rebindErrorStacktrace (line 75) | function rebindErrorStacktrace(e: Error, stacktrace: string): void { function ssrFixStacktrace (line 94) | function ssrFixStacktrace( FILE: packages/vite/src/node/ssr/ssrTransform.ts type ModuleRunnerTransformOptions (line 19) | interface ModuleRunnerTransformOptions { function ssrTransform (line 34) | async function ssrTransform( function ssrTransformJSON (line 47) | async function ssrTransformJSON( function ssrTransformScript (line 60) | async function ssrTransformScript( function getIdentifierNameOrLiteralValue (line 430) | function getIdentifierNameOrLiteralValue(node: ESTree.ModuleExportName) { type Visitors (line 434) | interface Visitors { type ESTreeProperty (line 445) | type ESTreeProperty = ESTree.Node & { type: 'Property' } function walk (line 456) | function walk( function isRefIdentifier (line 647) | function isRefIdentifier( type FunctionNodes (line 740) | type FunctionNodes = ESTree.Node & { function isFunction (line 746) | function isFunction(node: ESTree.Node): node is FunctionNodes { function isBlock (line 751) | function isBlock(node: ESTree.Node) { function findParentScope (line 755) | function findParentScope( function isInDestructuringAssignment (line 762) | function isInDestructuringAssignment( FILE: packages/vite/src/node/typeUtils.ts type NonNeverKeys (line 7) | type NonNeverKeys = { type GetHookContextMap (line 11) | type GetHookContextMap = { type RollupPluginHooksContext (line 21) | type RollupPluginHooksContext = GetHookContextMap type RollupPluginHooks (line 22) | type RollupPluginHooks = NonNeverKeys type RequiredExceptFor (line 24) | type RequiredExceptFor = Pick & FILE: packages/vite/src/node/utils.ts type FilterPattern (line 56) | type FilterPattern = constant FLATTEN_ID_HASH_LENGTH (line 86) | const FLATTEN_ID_HASH_LENGTH = 8 constant FLATTEN_ID_MAX_FILE_LENGTH (line 87) | const FLATTEN_ID_MAX_FILE_LENGTH = 170 constant NODE_BUILTIN_NAMESPACE (line 103) | const NODE_BUILTIN_NAMESPACE = 'node:' constant BUN_BUILTIN_NAMESPACE (line 105) | const BUN_BUILTIN_NAMESPACE = 'bun:' function isBuiltin (line 114) | function isBuiltin(builtins: (string | RegExp)[], id: string): boolean { function isNodeLikeBuiltin (line 129) | function isNodeLikeBuiltin(id: string): boolean { function isNodeBuiltin (line 133) | function isNodeBuiltin(id: string): boolean { function isInNodeModules (line 138) | function isInNodeModules(id: string): boolean { function moduleListContains (line 142) | function moduleListContains( function isOptimizable (line 151) | function isOptimizable( constant DEBUG (line 176) | const DEBUG = process.env.DEBUG type DebuggerOptions (line 178) | interface DebuggerOptions { type ViteDebugScope (line 183) | type ViteDebugScope = `vite:${string}` function createDebugger (line 185) | function createDebugger( function testCaseInsensitiveFS (line 211) | function testCaseInsensitiveFS() { constant VOLUME_RE (line 228) | const VOLUME_RE = /^[A-Z]:/i function normalizePath (line 230) | function normalizePath(id: string): string { function fsPathFromId (line 234) | function fsPathFromId(id: string): string { function fsPathFromUrl (line 241) | function fsPathFromUrl(url: string): string { function isParentDirectory (line 254) | function isParentDirectory(dir: string, file: string): boolean { function isSameFilePath (line 271) | function isSameFilePath(file1: string, file2: string): boolean { function removeImportQuery (line 320) | function removeImportQuery(url: string): string { function removeDirectQuery (line 323) | function removeDirectQuery(url: string): string { function removeUrlQuery (line 329) | function removeUrlQuery(url: string): string { function removeRawQuery (line 332) | function removeRawQuery(url: string): string { function injectQuery (line 336) | function injectQuery(url: string, queryToInject: string): string { function removeTimestampQuery (line 343) | function removeTimestampQuery(url: string): string { function asyncReplace (line 347) | async function asyncReplace( function timeFrom (line 364) | function timeFrom(start: number, subtract = 0): string { function prettifyUrl (line 379) | function prettifyUrl(url: string, root: string): string { function isObject (line 393) | function isObject(value: unknown): value is Record { function isDefined (line 397) | function isDefined(value: T | undefined | null): value is T { function tryStatSync (line 401) | function tryStatSync(file: string): fs.Stats | undefined { function lookupFile (line 410) | function lookupFile( function isFilePathESM (line 426) | function isFilePathESM( function pad (line 449) | function pad(source: string, n = 2): string { type Pos (line 454) | type Pos = { function posToNumber (line 461) | function posToNumber(source: string, pos: number | Pos): number { function numberToPos (line 472) | function numberToPos(source: string, offset: number | Pos): Pos { constant MAX_DISPLAY_LEN (line 487) | const MAX_DISPLAY_LEN = 120 constant ELLIPSIS (line 488) | const ELLIPSIS = '...' function generateCodeFrame (line 490) | function generateCodeFrame( function isFileReadable (line 570) | function isFileReadable(filename: string): boolean { function emptyDir (line 591) | function emptyDir(dir: string, skip?: string[]): void { function copyDir (line 629) | function copyDir(srcDir: string, destDir: string): void { constant ERR_SYMLINK_IN_RECURSIVE_READDIR (line 646) | const ERR_SYMLINK_IN_RECURSIVE_READDIR = function recursiveReaddir (line 648) | async function recursiveReaddir(dir: string): Promise { function windowsMappedRealpathSync (line 690) | function windowsMappedRealpathSync(path: string) { function windowsSafeRealPathSync (line 702) | function windowsSafeRealPathSync(path: string): string { function optimizeSafeRealPathSync (line 710) | function optimizeSafeRealPathSync() { function ensureWatchedFile (line 739) | function ensureWatchedFile( type ImageCandidate (line 757) | interface ImageCandidate { function joinSrcset (line 762) | function joinSrcset(ret: ImageCandidate[]) { function parseSrcset (line 785) | function parseSrcset(string: string): ImageCandidate[] { function processSrcSet (line 799) | function processSrcSet( function processSrcSetSync (line 811) | function processSrcSetSync( function escapeToLinuxLikePath (line 826) | function escapeToLinuxLikePath(path: string) { function unescapeToLinuxLikePath (line 837) | function unescapeToLinuxLikePath(path: string) { function combineSourcemaps (line 858) | function combineSourcemaps( function unique (line 914) | function unique(arr: T[]): T[] { function getLocalhostAddressIfDiffersFromDNS (line 925) | async function getLocalhostAddressIfDiffersFromDNS(): Promise< function diffDnsOrderChange (line 938) | function diffDnsOrderChange( type Hostname (line 951) | interface Hostname { function resolveHostname (line 958) | async function resolveHostname( function extractHostnamesFromCerts (line 986) | function extractHostnamesFromCerts( function resolveServerUrls (line 1009) | function resolveServerUrls( function extractHostnamesFromSubjectAltName (line 1074) | function extractHostnamesFromSubjectAltName( function arraify (line 1112) | function arraify(target: T | T[]): T[] { function getHash (line 1124) | function getHash(text: Buffer | string, length = 8): string { function emptyCssComments (line 1130) | function emptyCssComments(raw: string): string { function backwardCompatibleWorkerPlugins (line 1134) | function backwardCompatibleWorkerPlugins(plugins: any) { type DeepWritable (line 1144) | type DeepWritable = function deepClone (line 1153) | function deepClone(value: T): DeepWritable { type MaybeFallback (line 1176) | type MaybeFallback = undefined extends V ? Exclude |... type MergeWithDefaultsResult (line 1178) | type MergeWithDefaultsResult = function mergeWithDefaultsRecursively (line 1199) | function mergeWithDefaultsRecursively< function mergeWithDefaults (line 1228) | function mergeWithDefaults< function setupRollupOptionCompat (line 1252) | function setupRollupOptionCompat< function setupRollupOptionCompatForEnvironment (line 1297) | function setupRollupOptionCompatForEnvironment(environment: any): any { function hasBothRollupOptionsAndRolldownOptions (line 1308) | function hasBothRollupOptionsAndRolldownOptions( function mergeConfigRecursively (line 1328) | function mergeConfigRecursively( function mergeConfig (line 1418) | function mergeConfig< function mergeAlias (line 1433) | function mergeAlias( function normalizeAlias (line 1447) | function normalizeAlias(o: AliasOptions = []): Alias[] { function normalizeSingleAlias (line 1460) | function normalizeSingleAlias({ function transformStableResult (line 1488) | function transformStableResult( type AsyncFlatten (line 1502) | type AsyncFlatten = T extends (infer U)[] function asyncFlatten (line 1506) | async function asyncFlatten( function stripBomTag (line 1516) | function stripBomTag(content: string): string { function shouldServeFile (line 1528) | function shouldServeFile(filePath: string, root: string): boolean { function hasCorrectCase (line 1539) | function hasCorrectCase(file: string, assets: string): boolean { function joinUrlSegments (line 1551) | function joinUrlSegments(a: string, b: string): string { function removeLeadingSlash (line 1564) | function removeLeadingSlash(str: string): string { function stripBase (line 1568) | function stripBase(path: string, base: string): string { function arrayEqual (line 1576) | function arrayEqual(a: any[], b: any[]): boolean { function evalValue (line 1585) | function evalValue(rawValue: string): T { function getNpmPackageName (line 1593) | function getNpmPackageName(importPath: string): string | null { function getPkgName (line 1603) | function getPkgName(name: string): string | undefined { function escapeRegex (line 1608) | function escapeRegex(str: string): string { type CommandType (line 1612) | type CommandType = 'install' | 'uninstall' | 'update' function getPackageManagerCommand (line 1613) | function getPackageManagerCommand( function isDevServer (line 1634) | function isDevServer( function createSerialPromiseQueue (line 1640) | function createSerialPromiseQueue(): { function sortObjectKeys (line 1665) | function sortObjectKeys>(obj: T): T { function displayTime (line 1673) | function displayTime(time: number): string { function encodeURIPath (line 1702) | function encodeURIPath(uri: string): string { function partialEncodeURIPath (line 1713) | function partialEncodeURIPath(uri: string): string { function decodeURIIfPossible (line 1720) | function decodeURIIfPossible(input: string): string | undefined { type SigtermCallback (line 1729) | type SigtermCallback = (signal?: 'SIGTERM', exitCode?: number) => Promis... function getServerUrlByHost (line 1761) | function getServerUrlByHost( function monotonicDateNow (line 1786) | function monotonicDateNow(): number { FILE: packages/vite/src/node/watch.ts function getResolvedOutDirs (line 11) | function getResolvedOutDirs( function resolveEmptyOutDir (line 26) | function resolveEmptyOutDir( function resolveChokidarOptions (line 51) | function resolveChokidarOptions( function convertToWatcherOptions (line 81) | function convertToWatcherOptions( class NoopWatcher (line 92) | class NoopWatcher extends EventEmitter implements FSWatcher { method constructor (line 93) | constructor(public options: WatchOptions) { method add (line 97) | add() { method unwatch (line 101) | unwatch() { method getWatched (line 105) | getWatched() { method ref (line 109) | ref() { method unref (line 113) | unref() { method close (line 117) | async close() { function createNoopWatcher (line 122) | function createNoopWatcher(options: WatchOptions): FSWatcher { FILE: packages/vite/src/shared/__tests__/forwardConsole.spec.ts function sampleFn (line 43) | function sampleFn() { FILE: packages/vite/src/shared/builtin.ts function createIsBuiltin (line 1) | function createIsBuiltin( FILE: packages/vite/src/shared/constants.ts constant VALID_ID_PREFIX (line 4) | const VALID_ID_PREFIX = `/@id/` constant NULL_BYTE_PLACEHOLDER (line 17) | const NULL_BYTE_PLACEHOLDER = `__x00__` constant SOURCEMAPPING_URL (line 19) | let SOURCEMAPPING_URL = 'sourceMa' constant MODULE_RUNNER_SOURCEMAPPING_SOURCE (line 22) | const MODULE_RUNNER_SOURCEMAPPING_SOURCE = constant ERR_OUTDATED_OPTIMIZED_DEP (line 25) | const ERR_OUTDATED_OPTIMIZED_DEP = 'ERR_OUTDATED_OPTIMIZED_DEP' FILE: packages/vite/src/shared/forwardConsole.ts type ForwardConsoleLogLevel (line 4) | type ForwardConsoleLogLevel = type ForwardConsoleOptions (line 12) | interface ForwardConsoleOptions { type ResolvedForwardConsoleOptions (line 17) | interface ResolvedForwardConsoleOptions { function setupForwardConsoleHandler (line 23) | function setupForwardConsoleHandler( function formatConsoleArgs (line 90) | function formatConsoleArgs(args: unknown[]): string { function stringifyConsoleArg (line 161) | function stringifyConsoleArg(value: unknown): string { FILE: packages/vite/src/shared/hmr.ts type CustomListenersMap (line 6) | type CustomListenersMap = Map void)[]> type HotModule (line 8) | interface HotModule { type HotCallback (line 13) | interface HotCallback { type HMRLogger (line 19) | interface HMRLogger { class HMRContext (line 24) | class HMRContext implements ViteHotContext { method constructor (line 27) | constructor( method data (line 60) | get data(): any { method accept (line 64) | accept(deps?: any, callback?: any): void { method acceptExports (line 80) | acceptExports( method dispose (line 87) | dispose(cb: (data: any) => void): void { method prune (line 91) | prune(cb: (data: any) => void): void { method decline (line 97) | decline(): void {} method invalidate (line 99) | invalidate(message: string): void { method on (line 117) | on( method off (line 130) | off( method send (line 150) | send(event: T, data?: InferCustomEventPayload): v... method acceptDeps (line 154) | private acceptDeps( class HMRClient (line 170) | class HMRClient { method constructor (line 180) | constructor( method notifyListeners (line 191) | public async notifyListeners(event: string, data: any): Promise { method send (line 198) | public send(payload: HotPayload): void { method clear (line 204) | public clear(): void { method prunePaths (line 216) | public async prunePaths(paths: string[]): Promise { method warnFailedUpdate (line 233) | protected warnFailedUpdate(err: Error, path: string | string[]): void { method queueUpdate (line 252) | public async queueUpdate(payload: Update): Promise { method fetchUpdate (line 264) | private async fetchUpdate(update: Update): Promise<(() => void) | unde... FILE: packages/vite/src/shared/hmrHandler.ts function createHMRHandler (line 4) | function createHMRHandler( class Queue (line 11) | class Queue { method enqueue (line 19) | enqueue(promise: () => Promise): Promise { method dequeue (line 30) | dequeue(): boolean { FILE: packages/vite/src/shared/invokeMethods.ts type FetchFunctionOptions (line 1) | interface FetchFunctionOptions { type FetchResult (line 6) | type FetchResult = type CachedFetchResult (line 11) | interface CachedFetchResult { type ExternalFetchResult (line 19) | interface ExternalFetchResult { type ViteFetchResult (line 33) | interface ViteFetchResult { type InvokeSendData (line 59) | type InvokeSendData< type InvokeResponseData (line 68) | type InvokeResponseData< type InvokeMethods (line 79) | type InvokeMethods = { FILE: packages/vite/src/shared/moduleRunnerTransport.ts type ModuleRunnerTransportHandlers (line 10) | type ModuleRunnerTransportHandlers = { type ModuleRunnerTransport (line 18) | interface ModuleRunnerTransport { type InvokeableModuleRunnerTransport (line 26) | type InvokeableModuleRunnerTransport = Omit( type NormalizedModuleRunnerTransport (line 177) | interface NormalizedModuleRunnerTransport { method connect (line 199) | async connect(onMessage) { method disconnect (line 223) | async disconnect() { method send (line 233) | async send(data) { method invoke (line 245) | async invoke(name, data) { method connect (line 271) | async connect({ onMessage, onDisconnection }) { method disconnect (line 319) | disconnect() { method send (line 323) | send(data) { FILE: packages/vite/src/shared/ssrTransform.ts type DefineImportMetadata (line 1) | interface DefineImportMetadata { type SSRImportMetadata (line 14) | interface SSRImportMetadata extends DefineImportMetadata { function analyzeImportedModDifference (line 23) | function analyzeImportedModDifference( FILE: packages/vite/src/shared/utils.ts function wrapId (line 11) | function wrapId(id: string): string { function unwrapId (line 20) | function unwrapId(id: string): string { function slash (line 27) | function slash(p: string): string { function cleanUrl (line 32) | function cleanUrl(url: string): string { function splitFileAndPostfix (line 36) | function splitFileAndPostfix(path: string): { function isPrimitive (line 44) | function isPrimitive(value: unknown): boolean { function withTrailingSlash (line 48) | function withTrailingSlash(path: string): string { function getAsyncFunctionDeclarationPaddingLineCount (line 61) | function getAsyncFunctionDeclarationPaddingLineCount(): number { type PromiseWithResolvers (line 71) | interface PromiseWithResolvers { function promiseWithResolvers (line 76) | function promiseWithResolvers(): PromiseWithResolvers { FILE: packages/vite/src/types/alias.d.ts type Alias (line 32) | interface Alias { type MapToFunction (line 44) | type MapToFunction = T extends Function ? T : never type ResolverFunction (line 46) | type ResolverFunction = MapToFunction type ResolverObject (line 48) | interface ResolverObject { type AliasOptions (line 62) | type AliasOptions = readonly Alias[] | { [find: string]: string } FILE: packages/vite/src/types/anymatch.d.ts type AnymatchFn (line 1) | type AnymatchFn = (testString: string) => boolean type AnymatchPattern (line 2) | type AnymatchPattern = string | RegExp | AnymatchFn type AnymatchMatcher (line 3) | type AnymatchMatcher = AnymatchPattern | AnymatchPattern[] FILE: packages/vite/src/types/chokidar.d.ts class FSWatcher (line 12) | class FSWatcher extends EventEmitter implements fs.FSWatcher { type WatchOptions (line 97) | interface WatchOptions { type AwaitWriteFinishOptions (line 201) | interface AwaitWriteFinishOptions { FILE: packages/vite/src/types/commonjs.d.ts type RollupCommonJSOptions (line 8) | interface RollupCommonJSOptions { FILE: packages/vite/src/types/connect.d.ts type ServerHandle (line 14) | type ServerHandle = HandleFunction | http.Server class IncomingMessage (line 16) | class IncomingMessage extends http.IncomingMessage { type NextFunction (line 20) | type NextFunction = (err?: any) => void type SimpleHandleFunction (line 22) | type SimpleHandleFunction = ( type NextHandleFunction (line 26) | type NextHandleFunction = ( type ErrorHandleFunction (line 31) | type ErrorHandleFunction = ( type HandleFunction (line 37) | type HandleFunction = type ServerStackItem (line 42) | interface ServerStackItem { type Server (line 47) | interface Server extends NodeJS.EventEmitter { FILE: packages/vite/src/types/dynamicImportVars.d.ts type RollupDynamicImportVarsOptions (line 1) | interface RollupDynamicImportVarsOptions { FILE: packages/vite/src/types/ws.d.ts class WebSocket (line 34) | class WebSocket extends EventEmitter { type WebSocketAlias (line 303) | interface WebSocketAlias extends WebSocket {} type RawData (line 309) | type RawData = Buffer | ArrayBuffer | Buffer[] type Data (line 314) | type Data = string | Buffer | ArrayBuffer | Buffer[] type CertMeta (line 319) | type CertMeta = string | string[] | Buffer | Buffer[] type VerifyClientCallbackSync (line 326) | type VerifyClientCallbackSync = (info: { type VerifyClientCallbackAsync (line 337) | type VerifyClientCallbackAsync = ( type ClientOptions (line 347) | interface ClientOptions extends SecureContextOptions { type PerMessageDeflateOptions (line 367) | interface PerMessageDeflateOptions { type Event (line 390) | interface Event { type ErrorEvent (line 395) | interface ErrorEvent { type CloseEvent (line 402) | interface CloseEvent { type MessageEvent (line 410) | interface MessageEvent { type EventListenerOptions (line 416) | interface EventListenerOptions { type ServerOptions (line 420) | interface ServerOptions { type AddressInfo (line 442) | interface AddressInfo { class Server (line 449) | class Server extends EventEmitter { type WebSocketServer (line 553) | interface WebSocketServer extends Server {} type WebSocket (line 555) | interface WebSocket extends WebSocketAlias {} FILE: packages/vite/types/customEvent.d.ts type CustomEventMap (line 8) | interface CustomEventMap { type WebSocketConnectionPayload (line 28) | interface WebSocketConnectionPayload { type InvalidatePayload (line 39) | interface InvalidatePayload { type ForwardConsolePayload (line 45) | type ForwardConsolePayload = type InferCustomEventPayload (line 73) | type InferCustomEventPayload = type CustomEventName (line 79) | type CustomEventName = keyof CustomEventMap | (string & {}) FILE: packages/vite/types/hmrPayload.d.ts type HMRPayload (line 2) | type HMRPayload = HotPayload type HotPayload (line 3) | type HotPayload = type ConnectedPayload (line 12) | interface ConnectedPayload { type PingPayload (line 16) | interface PingPayload { type UpdatePayload (line 20) | interface UpdatePayload { type Update (line 25) | interface Update { type PrunePayload (line 46) | interface PrunePayload { type FullReloadPayload (line 51) | interface FullReloadPayload { type CustomPayload (line 58) | interface CustomPayload { type ErrorPayload (line 64) | interface ErrorPayload { FILE: packages/vite/types/hot.d.ts type ModuleNamespace (line 3) | type ModuleNamespace = Record & { type ViteHotContext (line 7) | interface ViteHotContext { FILE: packages/vite/types/importGlob.d.ts type ImportGlobOptions (line 1) | interface ImportGlobOptions< type GeneralImportGlobOptions (line 37) | type GeneralImportGlobOptions = ImportGlobOptions type Worker (line 46) | interface Worker {} type KnownAsTypeMap (line 49) | interface KnownAsTypeMap { type ImportGlobFunction (line 55) | interface ImportGlobFunction { FILE: packages/vite/types/importMeta.d.ts type ViteTypeOptions (line 7) | interface ViteTypeOptions { type ImportMetaEnvFallbackKey (line 11) | type ImportMetaEnvFallbackKey = type ImportMetaEnv (line 14) | interface ImportMetaEnv extends Record { type ImportMeta (line 22) | interface ImportMeta { FILE: packages/vite/types/internal/cssPreprocessorOptions.d.ts type IsAny (line 15) | type IsAny = boolean extends (T extends never ? true : false) ? true ... type DartSassStringOptionsAsync (line 17) | type DartSassStringOptionsAsync = DartSass.StringOptions<'async'> type SassEmbeddedStringOptionsAsync (line 18) | type SassEmbeddedStringOptionsAsync = SassEmbedded.StringOptions<'async'> type SassStringOptionsAsync (line 19) | type SassStringOptionsAsync = type SassModernPreprocessBaseOptions (line 24) | type SassModernPreprocessBaseOptions = Omit< type LessPreprocessorBaseOptions (line 29) | type LessPreprocessorBaseOptions = Omit< type StylusPreprocessorBaseOptions (line 34) | type StylusPreprocessorBaseOptions = Omit< type HTMLLinkElement (line 43) | interface HTMLLinkElement {} FILE: packages/vite/types/internal/esbuildOptions.d.ts type EsbuildTarget (line 8) | type EsbuildTarget = string | string[] type EsbuildLoader (line 10) | type EsbuildLoader = esbuild.Loader type EsbuildTransformOptions (line 11) | type EsbuildTransformOptions = esbuild.TransformOptions type EsbuildTransformResult (line 12) | type EsbuildTransformResult = esbuild.TransformResult type EsbuildMessage (line 14) | type EsbuildMessage = esbuild.Message type DepsOptimizerEsbuildOptions (line 16) | type DepsOptimizerEsbuildOptions = Omit< FILE: packages/vite/types/internal/lightningcssOptions.d.ts type LightningCSSOptions (line 8) | type LightningCSSOptions = Omit< FILE: packages/vite/types/internal/rollupTypeCompat.d.ts type RollupBuild (line 6) | type RollupBuild = Rolldown.RolldownBuild type RollupOptions (line 9) | type RollupOptions = Rolldown.RolldownOptions type RollupOutput (line 12) | type RollupOutput = Rolldown.RolldownOutput type RollupPlugin (line 15) | type RollupPlugin = Rolldown.RolldownPlugin type RollupPluginOption (line 18) | type RollupPluginOption = Rolldown.RolldownPluginOption type RollupWatcher (line 21) | type RollupWatcher = Rolldown.RolldownWatcher type RollupWatcherEvent (line 24) | type RollupWatcherEvent = Rolldown.RolldownWatcherEvent FILE: packages/vite/types/internal/terserOptions.d.ts type TerserMinifyOptions (line 10) | type TerserMinifyOptions = Terser.MinifyOptions type TerserMinifyOutput (line 11) | type TerserMinifyOutput = Terser.MinifyOutput FILE: packages/vite/types/metadata.d.ts type AssetMetadata (line 1) | interface AssetMetadata { type ChunkMetadata (line 6) | interface ChunkMetadata { type CustomPluginOptionsVite (line 13) | interface CustomPluginOptionsVite { type OutputAsset (line 33) | interface OutputAsset { type RenderedChunk (line 37) | interface RenderedChunk { type OutputChunk (line 40) | interface OutputChunk { type CustomPluginOptions (line 44) | interface CustomPluginOptions { FILE: playground/alias/vite.config.js method customResolver (line 32) | customResolver(id) { FILE: playground/assets-sanitize/index.js function setData (line 3) | function setData(classname, file) { FILE: playground/assets/asset/main.js function text (line 1) | function text(el, text) { FILE: playground/assets/nested/test.js class a (line 1) | class a { FILE: playground/assets/static/raw.ts function other (line 1) | function other() { FILE: playground/assets/vite.config-runtime-base.js method transformIndexHtml (line 29) | transformIndexHtml(_, ctx) { method renderBuiltUrl (line 44) | renderBuiltUrl(filename, { hostType, type }) { FILE: playground/backend-integration/frontend/entrypoints/main.ts function colorHeading (line 17) | function colorHeading() { FILE: playground/backend-integration/vite.config.js function BackendIntegrationExample (line 9) | function BackendIntegrationExample() { FILE: playground/base-conflict/vite.config.ts constant VIRTUAL_MODULE_ID (line 8) | const VIRTUAL_MODULE_ID = 'absolute-importer' constant RESOLVED_VIRTUAL_MODULE_ID (line 9) | const RESOLVED_VIRTUAL_MODULE_ID = '\0' + VIRTUAL_MODULE_ID method resolveId (line 17) | resolveId(id) { method load (line 22) | load(id) { FILE: playground/cli-module/__tests__/serve.ts function serve (line 18) | async function serve() { function startedOnPort (line 117) | async function startedOnPort(serverProcess, port, timeout) { function resolvedOrTimeout (line 145) | async function resolvedOrTimeout(promise, ms, errorMessage) { FILE: playground/cli/__tests__/serve.ts function serve (line 21) | async function serve() { function startedOnPort (line 120) | async function startedOnPort(serverProcess, port, timeout) { function resolvedOrTimeout (line 148) | async function resolvedOrTimeout(promise, ms, errorMessage) { FILE: playground/client-reload/__tests__/client-reload.spec.ts function testClientReload (line 12) | async function testClientReload(serverOptions: ServerOptions) { FILE: playground/client-reload/__tests__/serve.ts function serve (line 2) | async function serve(): Promise<{ close(): Promise }> { FILE: playground/csp/vite.config.js method config (line 41) | config() { method configureServer (line 49) | configureServer({ transformIndexHtml, middlewares }) { method configurePreviewServer (line 58) | configurePreviewServer({ middlewares }) { FILE: playground/css-codesplit/shared-css-empty-1.js function shouldBeTreeshaken_1 (line 1) | function shouldBeTreeshaken_1() { FILE: playground/css-codesplit/shared-css-empty-2.js function shouldBeTreeshaken_2 (line 1) | function shouldBeTreeshaken_2() { FILE: playground/css-codesplit/shared-css-main.js function shouldBeTreeshaken_0 (line 7) | function shouldBeTreeshaken_0() { FILE: playground/css-dynamic-import/__tests__/css-dynamic-import.spec.ts function withBuild (line 20) | async function withBuild(base: string, fn: () => Promise) { function withServe (line 33) | async function withServe(base: string, fn: () => Promise) { function getLinks (line 47) | async function getLinks() { FILE: playground/css-dynamic-import/__tests__/serve.ts function serve (line 6) | async function serve() { FILE: playground/css-lightningcss-proxy/__tests__/serve.ts function serve (line 10) | async function serve(): Promise<{ close(): Promise }> { FILE: playground/css-lightningcss-proxy/server.js constant DYNAMIC_STYLES (line 8) | const DYNAMIC_STYLES = ` function createServer (line 16) | async function createServer(root = process.cwd(), hmrPort) { FILE: playground/css-lightningcss/main.js function text (line 22) | function text(el, text) { FILE: playground/css-sourcemap/vite.config.js method configureServer (line 42) | configureServer(server) { FILE: playground/css/__tests__/postcss-plugins-different-dir/serve.ts function serve (line 6) | async function serve(): Promise<{ close(): Promise }> { FILE: playground/css/async/base.js function createButton (line 3) | function createButton(className) { FILE: playground/css/lightningcss-plugins.js function obtainLightningCssAst (line 13) | function obtainLightningCssAst(filename) { function testDirDep (line 31) | function testDirDep() { function testSourceInput (line 59) | function testSourceInput() { function nestedLikePlugin (line 115) | function nestedLikePlugin() { function testInjectUrl (line 176) | function testInjectUrl() { FILE: playground/css/main.js function text (line 65) | function text(el, text) { function appendLinkStylesheet (line 69) | function appendLinkStylesheet(href) { FILE: playground/css/postcss-caching/blue-app/main.js function text (line 5) | function text(el, text) { FILE: playground/css/postcss-caching/blue-app/postcss.config.js function replacePinkWithBlue (line 5) | function replacePinkWithBlue() { FILE: playground/css/postcss-caching/green-app/main.js function text (line 5) | function text(el, text) { FILE: playground/css/postcss-caching/green-app/postcss.config.js function replacePinkWithGreen (line 5) | function replacePinkWithGreen() { FILE: playground/css/postcss-caching/serve.ts function serve (line 6) | async function serve(): Promise<{ close(): Promise }> { FILE: playground/css/postcss.config.js function testDirDep (line 14) | function testDirDep() { function testSourceInput (line 48) | function testSourceInput() { function testInjectUrl (line 65) | function testInjectUrl() { FILE: playground/css/treeshake-module/a.js function a (line 3) | function a() { FILE: playground/css/treeshake-module/b.js function b (line 3) | function b() { FILE: playground/css/treeshake-scoped/a.js function a (line 3) | function a() { FILE: playground/css/treeshake-scoped/b.js function b (line 3) | function b() { FILE: playground/css/treeshake-scoped/c.js function c (line 3) | function c() { function cUsed (line 7) | function cUsed() { FILE: playground/css/treeshake-scoped/d.js function d (line 3) | function d() { FILE: playground/css/treeshake-scoped/order/a.js function a (line 5) | function a() { FILE: playground/css/vite.config.js method resolveId (line 22) | async resolveId(id, importer) { method manualChunks (line 51) | manualChunks(id) { method canonicalize (line 107) | canonicalize(url) { method load (line 112) | load() { method canonicalize (line 120) | canonicalize(url) { method load (line 125) | load() { FILE: playground/data-uri/vite.config.js method resolveId (line 8) | resolveId(id) { method load (line 13) | load(id) { FILE: playground/define/vite.config.js function testEnvQueryParamsPlugin (line 6) | function testEnvQueryParamsPlugin() { FILE: playground/devtools/src/counter.ts function useCounter (line 3) | function useCounter() { FILE: playground/dynamic-import-inline/src/foo.js function foo (line 1) | function foo() { FILE: playground/dynamic-import/(app)/main.js function hello (line 1) | function hello() { FILE: playground/dynamic-import/alias/hello.js function hello (line 1) | function hello() { FILE: playground/dynamic-import/alias/hi.js function hi (line 1) | function hi() { FILE: playground/dynamic-import/nested/hello.js function hello (line 1) | function hello() { FILE: playground/dynamic-import/nested/index.js function setView (line 4) | async function setView(view) { function text (line 77) | function text(el, text) { method lazy (line 184) | async lazy() { FILE: playground/dynamic-import/vite.config.js method writeBundle (line 11) | writeBundle() { FILE: playground/env/index.js function text (line 3) | function text(el, text) { FILE: playground/environment-react-ssr/src/entry-client.tsx function main (line 5) | async function main() { FILE: playground/environment-react-ssr/src/entry-server.tsx function importHtml (line 16) | async function importHtml() { FILE: playground/environment-react-ssr/src/root.tsx function Root (line 3) | function Root() { FILE: playground/environment-react-ssr/vite.config.ts method configureServer (line 19) | configureServer(server) { method buildApp (line 25) | async buildApp(builder) { method buildApp (line 63) | async buildApp(builder) { function vitePluginSsrMiddleware (line 73) | function vitePluginSsrMiddleware({ FILE: playground/external/vite.config.js method configureServer (line 47) | configureServer({ middlewares }) { method configurePreviewServer (line 50) | configurePreviewServer({ middlewares }) { FILE: playground/forward-console/__test__/forward-console.spec.ts function normalizeLogs (line 5) | function normalizeLogs(logs: string[]) { FILE: playground/forward-console/fixtures/throw-dep/index.js function throwDepError (line 1) | function throwDepError() { FILE: playground/forward-console/src/main.ts type SomePadding (line 3) | type SomePadding = { type AnotherPadding (line 25) | type AnotherPadding = { function testError (line 29) | function testError() { function testUnhandledRejection (line 33) | function testUnhandledRejection() { function testDepError (line 37) | function testDepError() { function testConsoleError (line 41) | function testConsoleError() { FILE: playground/fs-serve/__tests__/commonTests.ts function ArrayFromAsync (line 542) | async function ArrayFromAsync( FILE: playground/fs-serve/root/svgVirtualModulePlugin.ts function svgVirtualModulePlugin (line 5) | function svgVirtualModulePlugin(): Plugin { FILE: playground/fs-serve/root/vite.config-base.js constant BASE (line 5) | const BASE = '/base/' FILE: playground/glob-import/vite.config.ts method transform (line 22) | transform(code: string, id: string) { FILE: playground/hmr-full-bundle-mode/hmr.js function text (line 9) | function text(el, text) { FILE: playground/hmr-full-bundle-mode/main.js function text (line 22) | function text(el, text) { FILE: playground/hmr-full-bundle-mode/vite.config.ts function waitBundleCompleteUntilAccess (line 10) | function waitBundleCompleteUntilAccess(): Plugin { function delayTransformComment (line 35) | function delayTransformComment(): Plugin { type PromiseWithResolvers (line 46) | interface PromiseWithResolvers { function promiseWithResolvers (line 51) | function promiseWithResolvers(): PromiseWithResolvers { FILE: playground/hmr-ssr/__tests__/hmr-ssr.spec.ts function hotEventsPlugin (line 57) | function hotEventsPlugin(): Plugin { type UntilBrowserLogAfterCallback (line 951) | type UntilBrowserLogAfterCallback = (logs: string[]) => PromiseLike }> { FILE: playground/legacy/__tests__/ssr/serve.ts function serve (line 8) | async function serve(): Promise<{ close(): Promise }> { FILE: playground/legacy/async.js function fn (line 1) | function fn() { FILE: playground/legacy/entry-server-sequential.js function render (line 2) | async function render() { FILE: playground/legacy/entry-server.js function render (line 2) | async function render() { FILE: playground/legacy/immutable-chunk.js function fn (line 11) | function fn() { FILE: playground/legacy/main.js function run (line 5) | async function run() { function text (line 78) | function text(el, text) { FILE: playground/legacy/vite.config-multiple-output.js method assetFileNames (line 12) | assetFileNames() { method assetFileNames (line 19) | assetFileNames() { FILE: playground/legacy/vite.config.js method chunkFileNames (line 26) | chunkFileNames(chunkInfo) { method __test__ (line 42) | __test__() { FILE: playground/lib/__tests__/serve.ts function serve (line 21) | async function serve(): Promise<{ close(): Promise }> { function setupConsoleWarnCollector (line 147) | function setupConsoleWarnCollector() { FILE: playground/lib/src/main-multiple-output.js function message (line 4) | async function message(sel) { FILE: playground/lib/src/main2.js function message (line 3) | async function message(sel) { FILE: playground/lib/src/sub-multiple-output.js function message (line 4) | async function message(sel) { FILE: playground/lib/vite.config.js method generateBundle (line 34) | generateBundle() { FILE: playground/module-graph/vite.config.ts function slowModulePlugin (line 8) | function slowModulePlugin(): Plugin { FILE: playground/multiple-entrypoints/entrypoints/a0.js function other (line 26) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a1.js function other (line 27) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a10.js function other (line 18) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a11.js function other (line 17) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a12.js function other (line 16) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a13.js function other (line 15) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a14.js function other (line 14) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a15.js function other (line 13) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a16.js function other (line 12) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a17.js function other (line 11) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a18.js function other (line 10) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a19.js function other (line 9) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a2.js function other (line 26) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a20.js function other (line 8) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a21.js function other (line 7) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a22.js function other (line 6) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a23.js function other (line 5) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a24.js function other (line 3) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a3.js function other (line 25) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a4.js function other (line 24) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a5.js function other (line 23) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a6.js function other (line 22) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a7.js function other (line 21) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a8.js function other (line 20) | function other() { FILE: playground/multiple-entrypoints/entrypoints/a9.js function other (line 19) | function other() { FILE: playground/nested-deps/test-package-e/test-package-e-excluded/index.js function testExcluded (line 9) | function testExcluded() { FILE: playground/nested-deps/test-package-e/test-package-e-included/index.js function testIncluded (line 3) | function testIncluded() { FILE: playground/object-hooks/vite.config.ts method handler (line 11) | async handler() { method handler (line 18) | handler(code) { method handler (line 27) | async handler() { method handler (line 34) | handler(code) { method handler (line 42) | async handler() { method handler (line 50) | handler(code) { method handler (line 58) | async handler() { method handler (line 63) | handler(code) { FILE: playground/optimize-deps/cjs-dynamic.js function App (line 40) | function App() { function text (line 58) | function text(el, text) { FILE: playground/optimize-deps/cjs.js function App (line 40) | function App() { function text (line 58) | function text(el, text) { FILE: playground/optimize-deps/dedupe.js function App (line 9) | function App() { FILE: playground/optimize-deps/dep-cjs-compiled-from-cjs/index.js function foo (line 2) | function foo() { FILE: playground/optimize-deps/dep-cjs-compiled-from-esm/index.js function foo (line 3) | function foo() { FILE: playground/optimize-deps/dep-cjs-external-package-omit-js-suffix/test.astro.js function astro (line 1) | function astro() { FILE: playground/optimize-deps/dep-cjs-external-package-omit-js-suffix/test.okay.js function okay (line 1) | function okay() { FILE: playground/optimize-deps/dep-cjs-external-package-omit-js-suffix/test.scss.js function scss (line 1) | function scss() { FILE: playground/optimize-deps/dep-cjs-external-package-omit-js-suffix/test.tsx.js function tsx (line 1) | function tsx() { FILE: playground/optimize-deps/dep-esm-dummy-node-builtin/index.js function foo (line 1) | function foo() { FILE: playground/optimize-deps/dep-esm-external/index.js function foo (line 1) | function foo() { FILE: playground/optimize-deps/dep-linked-include/index.mjs function useCount (line 8) | function useCount() { FILE: playground/optimize-deps/dep-with-assets/index.js function urlImportWorker (line 1) | function urlImportWorker() { function getAssetUrl (line 10) | function getAssetUrl() { FILE: playground/optimize-deps/dep-with-assets/nested/index.js function urlImportWorker (line 1) | function urlImportWorker() { FILE: playground/optimize-deps/dep-with-builtin-module-esm/index.js function read (line 22) | function read() { FILE: playground/optimize-deps/dep-with-optional-peer-dep-submodule/index.js function callItself (line 1) | function callItself() { function callPeerDepSubmodule (line 5) | async function callPeerDepSubmodule() { FILE: playground/optimize-deps/dep-with-optional-peer-dep/index.js function callItself (line 1) | function callItself() { function callPeerDep (line 5) | async function callPeerDep() { FILE: playground/optimize-deps/vite.config.js method load (line 41) | load(id) { method transform (line 63) | transform(code, id) { function testVue (line 74) | function testVue() { function notjs (line 102) | function notjs() { function virtualModulePlugin (line 138) | function virtualModulePlugin() { FILE: playground/optimize-missing-deps/__test__/serve.ts function serve (line 9) | async function serve(): Promise<{ close(): Promise }> { FILE: playground/optimize-missing-deps/missing-dep/index.js function sayName (line 3) | function sayName() { FILE: playground/optimize-missing-deps/server.js function createServer (line 8) | async function createServer(root = process.cwd(), hmrPort) { FILE: playground/preload/vite.config-resolve-deps.js method resolveDependencies (line 25) | resolveDependencies(filename, deps, { hostId, hostType }) { method renderBuiltUrl (line 34) | renderBuiltUrl(filename, { hostId, hostType }) { FILE: playground/preserve-symlinks/module-a/src/index.js function sayHi (line 3) | function sayHi() { FILE: playground/proxy-bypass/vite.config.js method configurePreviewServer (line 39) | configurePreviewServer({ config, middlewares }) { FILE: playground/proxy-hmr/__tests__/serve.ts function serve (line 7) | async function serve(): Promise<{ close(): Promise }> { FILE: playground/resolve/util/bar.util.js function bar (line 1) | function bar() { FILE: playground/resolve/util/index.js function foo (line 1) | function foo() { FILE: playground/resolve/vite.config.js method resolveId (line 53) | resolveId(id) { method load (line 58) | load(id) { method resolveId (line 66) | resolveId(id) { method load (line 71) | load(id) { method resolveId (line 80) | resolveId(id, _importer, opts) { method load (line 92) | load(id) { method resolveId (line 103) | resolveId(id) { method load (line 108) | load(id) { method resolveId (line 116) | resolveId(id) { method load (line 121) | load(id) { method resolveId (line 129) | resolveId(id) { method load (line 134) | load(id) { method resolveId (line 155) | async resolveId(id) { FILE: playground/ssr-conditions/__tests__/serve.ts function serve (line 10) | async function serve(): Promise<{ close(): Promise }> { FILE: playground/ssr-conditions/server.js function createServer (line 8) | async function createServer( FILE: playground/ssr-conditions/src/app.js function render (line 4) | async function render(url) { FILE: playground/ssr-deps/__tests__/serve.ts function serve (line 10) | async function serve(): Promise<{ close(): Promise }> { FILE: playground/ssr-deps/define-properties-exports/index.js method value (line 4) | value() { FILE: playground/ssr-deps/define-property-exports/index.js method value (line 2) | value() { FILE: playground/ssr-deps/external-entry/entry.js function setMessage (line 4) | function setMessage(externalMsg) { function getMessage (line 7) | function getMessage() { FILE: playground/ssr-deps/external-using-external-entry/index.js method hello (line 4) | hello() { FILE: playground/ssr-deps/nested-external-cjs/index.js method setMessage (line 6) | setMessage(externalMsg) { method getMessage (line 9) | getMessage() { FILE: playground/ssr-deps/nested-external/index.js function setMessage (line 4) | function setMessage(externalMsg) { function getMessage (line 7) | function getMessage() { FILE: playground/ssr-deps/object-assigned-exports/index.js method hello (line 4) | hello() { FILE: playground/ssr-deps/only-object-assigned-exports/index.js method hello (line 2) | hello() { FILE: playground/ssr-deps/optimized-with-nested-external/index.js function hello (line 3) | function hello() { FILE: playground/ssr-deps/server.js function createServer (line 15) | async function createServer(root = process.cwd(), hmrPort) { FILE: playground/ssr-deps/src/app.js function render (line 33) | async function render(url, rootDir) { FILE: playground/ssr-deps/ts-transpiled-exports/index.js function hello (line 4) | function hello() { FILE: playground/ssr-html/__tests__/serve.ts function serve (line 10) | async function serve(): Promise<{ close(): Promise }> { FILE: playground/ssr-html/server.js constant DYNAMIC_SCRIPTS (line 7) | const DYNAMIC_SCRIPTS = ` constant DYNAMIC_STYLES (line 16) | const DYNAMIC_STYLES = ` function createServer (line 24) | async function createServer(root = process.cwd(), hmrPort) { FILE: playground/ssr-html/src/app.js function text (line 9) | function text(el, text) { FILE: playground/ssr-html/src/error-js.js function error (line 1) | function error() { FILE: playground/ssr-html/src/error-ts.ts function error (line 1) | function error() { FILE: playground/ssr-html/src/has-error-deep.ts function crash (line 1) | function crash(message: string) { function main (line 5) | function main(): void { FILE: playground/ssr-html/test-network-imports.js function runTest (line 5) | async function runTest(userRunner) { FILE: playground/ssr-noexternal/__tests__/serve.ts function serve (line 10) | async function serve(): Promise<{ close(): Promise }> { FILE: playground/ssr-noexternal/server.js function createServer (line 7) | async function createServer( FILE: playground/ssr-noexternal/src/entry-server.js function render (line 3) | async function render(url) { FILE: playground/ssr-pug/__tests__/serve.ts function serve (line 10) | async function serve(): Promise<{ close(): Promise }> { FILE: playground/ssr-pug/server.js constant DYNAMIC_SCRIPTS (line 8) | const DYNAMIC_SCRIPTS = ` function createServer (line 17) | async function createServer(root = process.cwd(), hmrPort) { FILE: playground/ssr-resolve/util.js function used (line 3) | function used(s) { function treeshaken (line 8) | function treeshaken(s) { FILE: playground/ssr-wasm/__tests__/serve.ts function preServe (line 11) | async function preServe() { function serve (line 17) | async function serve(): Promise<{ close(): Promise }> { FILE: playground/ssr-wasm/server.js function createServer (line 6) | async function createServer(root = process.cwd(), hmrPort) { FILE: playground/ssr-wasm/src/app.js function render (line 1) | async function render(url) { FILE: playground/ssr-wasm/src/static-heavy.js function render (line 3) | async function render() { FILE: playground/ssr-wasm/src/static-light.js function render (line 3) | async function render() { FILE: playground/ssr-webworker/__tests__/serve.ts function serve (line 10) | async function serve(): Promise<{ close(): Promise }> { FILE: playground/ssr-webworker/vite.config.js method config (line 23) | config() { method config (line 33) | config() { FILE: playground/ssr-webworker/worker.js function createServer (line 6) | async function createServer(port) { FILE: playground/ssr/__tests__/serve.ts function serve (line 12) | async function serve(): Promise<{ close(): Promise }> { FILE: playground/ssr/server.js function createServer (line 7) | async function createServer( FILE: playground/ssr/src/app.js function render (line 13) | async function render(url, rootDir) { function renderRoot (line 22) | async function renderRoot(rootDir) { function renderCircularDep (line 36) | async function renderCircularDep(rootDir) { function renderCircularImport (line 41) | async function renderCircularImport(rootDir) { function renderCircularImport2 (line 46) | async function renderCircularImport2(rootDir) { function renderForkedDeadlockStaticImports (line 51) | async function renderForkedDeadlockStaticImports(rootDir) { function renderForkedDeadlockDynamicImports (line 57) | async function renderForkedDeadlockDynamicImports(rootDir) { function renderImportMeta (line 64) | async function renderImportMeta(rootDir) { FILE: playground/ssr/src/circular-dep-init/module-b.js function getValueAB (line 6) | function getValueAB() { FILE: playground/ssr/src/circular-import/b.js function getB (line 1) | function getB() { FILE: playground/ssr/src/circular-import/index.js function logA (line 3) | function logA() { FILE: playground/ssr/src/circular-import2/b.js function getB (line 3) | function getB() { FILE: playground/ssr/src/circular-import2/index.js function logA (line 3) | function logA() { FILE: playground/ssr/src/forked-deadlock/common-module.js function commonModuleExport (line 7) | function commonModuleExport() { FILE: playground/ssr/src/forked-deadlock/deadlock-fuse-module.js function deadlockfuseModuleExport (line 6) | function deadlockfuseModuleExport() { FILE: playground/ssr/src/forked-deadlock/dynamic-imports/common-module.js function commonModuleExport (line 4) | async function commonModuleExport() { FILE: playground/ssr/src/forked-deadlock/dynamic-imports/deadlock-fuse-module.js function deadlockfuseModuleExport (line 6) | function deadlockfuseModuleExport() { FILE: playground/ssr/src/forked-deadlock/dynamic-imports/fuse-stuck-bridge-module.js function fuseStuckBridgeModuleExport (line 6) | function fuseStuckBridgeModuleExport() { FILE: playground/ssr/src/forked-deadlock/dynamic-imports/middle-module.js function middleModuleExport (line 6) | function middleModuleExport() { FILE: playground/ssr/src/forked-deadlock/dynamic-imports/stuck-module.js function stuckModuleExport (line 6) | function stuckModuleExport() { FILE: playground/ssr/src/forked-deadlock/fuse-stuck-bridge-module.js function fuseStuckBridgeModuleExport (line 6) | function fuseStuckBridgeModuleExport() { FILE: playground/ssr/src/forked-deadlock/middle-module.js function middleModuleExport (line 6) | function middleModuleExport() { FILE: playground/ssr/src/forked-deadlock/stuck-module.js function stuckModuleExport (line 6) | function stuckModuleExport() { FILE: playground/ssr/src/utils.js function escapeHtml (line 14) | function escapeHtml(string) { FILE: playground/tailwind-v3/vite.config.ts function delayIndexCssPlugin (line 4) | function delayIndexCssPlugin(): Plugin { method transform (line 34) | async transform(_code, id) { FILE: playground/tailwind/vite.config.ts function delayIndexCssPlugin (line 5) | function delayIndexCssPlugin(): Plugin { method transform (line 35) | async transform(_code, id) { FILE: playground/test-utils.ts function componentToHex (line 74) | function componentToHex(c: number): string { function rgbToHex (line 79) | function rgbToHex(rgb: string): string | undefined { function toEl (line 93) | async function toEl( function getColor (line 109) | async function getColor( function getBg (line 117) | async function getBg( function getCssRuleBg (line 129) | async function getCssRuleBg(selector: string): Promise { function getBgColor (line 143) | async function getBgColor( function readFile (line 155) | function readFile( function editFile (line 177) | function editFile( function addFile (line 193) | function addFile(filename: string, content: string): void { function removeFile (line 199) | function removeFile(filename: string): void { function listAssets (line 203) | function listAssets(base = ''): string[] { function findAssetFile (line 208) | function findAssetFile( function readManifest (line 241) | function readManifest(base = ''): Manifest { function readDepOptimizationMetadata (line 250) | function readDepOptimizationMetadata( type UntilBrowserLogAfterCallback (line 262) | type UntilBrowserLogAfterCallback = (logs: string[]) => PromiseLike { function promiseWithResolvers (line 420) | function promiseWithResolvers(): PromiseWithResolvers { FILE: playground/transform-plugin/vite.config.js method load (line 9) | load(id) { method transform (line 15) | transform(code, id) { method transform (line 34) | transform(code, id, opts) { method resolveId (line 46) | resolveId(id) { method load (line 51) | load(id) { method options (line 64) | options() { method handler (line 71) | handler(code) { FILE: playground/tsconfig-json-load-error/__tests__/serve.ts function serve (line 6) | async function serve() { function clearServeError (line 14) | function clearServeError() { FILE: playground/tsconfig-json/nested-with-extends/main.ts class NestedWithExtendsBase (line 5) | class NestedWithExtendsBase { method data (line 6) | set data(value: string) { class NestedWithExtendsDerived (line 10) | class NestedWithExtendsDerived extends NestedWithExtendsBase { FILE: playground/tsconfig-json/nested-with-extends/not-used-type.ts class NestedWithExtendsTypeOnlyClass (line 3) | class NestedWithExtendsTypeOnlyClass {} FILE: playground/tsconfig-json/nested/main.ts class NestedBase (line 5) | class NestedBase { method data (line 6) | set data(value: string) { class NestedDerived (line 10) | class NestedDerived extends NestedBase { FILE: playground/tsconfig-json/nested/not-used-type.ts class NestedTypeOnlyClass (line 3) | class NestedTypeOnlyClass {} FILE: playground/tsconfig-json/src/decorator.ts function first (line 2) | function first() { class Foo (line 6) | class Foo { method method (line 8) | method(@first() test: string) { FILE: playground/tsconfig-json/src/main.ts class MainBase (line 9) | class MainBase { method data (line 10) | set data(value: string) { class MainDerived (line 14) | class MainDerived extends MainBase { FILE: playground/tsconfig-json/src/not-used-type.ts class MainTypeOnlyClass (line 3) | class MainTypeOnlyClass {} FILE: playground/vitestGlobalSetup.ts function setup (line 9) | async function setup({ provide }: TestProject): Promise { function teardown (line 56) | async function teardown(): Promise { FILE: playground/vitestSetup.ts method serialize (line 43) | serialize(val, config, indentation, depth, refs, printer) { method test (line 55) | test(val) { function setViteUrl (line 110) | function setViteUrl(url: string): void { function throwHtmlParseError (line 114) | function throwHtmlParseError() { function loadConfig (line 227) | async function loadConfig(configEnv: ConfigEnv) { function startDefaultServe (line 277) | async function startDefaultServe(): Promise { function notifyRebuildComplete (line 341) | async function notifyRebuildComplete( function createInMemoryLogger (line 358) | function createInMemoryLogger(logs: string[]): Logger { function setupConsoleWarnCollector (line 390) | function setupConsoleWarnCollector(logs: string[]) { function slash (line 398) | function slash(p: string): string { function stripTrailingSlashIfNeeded (line 402) | function stripTrailingSlashIfNeeded(url: string, base: string): string { type UserConfig (line 410) | interface UserConfig { type ProvidedContext (line 421) | interface ProvidedContext { FILE: playground/worker/__tests__/sourcemap-hidden/worker-sourcemap-hidden.spec.ts function getSourceMapUrl (line 123) | function getSourceMapUrl(code: string): string { FILE: playground/worker/__tests__/sourcemap-inline/worker-sourcemap-inline.spec.ts function getSourceMapUrl (line 98) | function getSourceMapUrl(code: string): string { FILE: playground/worker/__tests__/sourcemap/worker-sourcemap.spec.ts function getSourceMapUrl (line 125) | function getSourceMapUrl(code: string): string { FILE: playground/worker/dep-self-reference-url-worker/index.js function startWorker (line 1) | function startWorker(handler) { FILE: playground/worker/vite.config-es.js method transform (line 39) | transform(code, id) { FILE: playground/worker/vite.config-iife.js method config (line 40) | config() { FILE: playground/worker/vite.config-relative-base.js method transform (line 38) | transform(code, id) { FILE: playground/worker/worker-plugin-test-plugin.js method transform (line 3) | transform(code, id) { FILE: playground/worker/worker/main-classic.js function text (line 2) | function text(el, text) { FILE: playground/worker/worker/main-deeply-nested.js function text (line 6) | function text(el, text) { FILE: playground/worker/worker/main-format-es.js function text (line 5) | function text(el, text) { FILE: playground/worker/worker/main-module.js function text (line 11) | function text(el, text) { FILE: playground/worker/worker/main-url.js function text (line 3) | function text(el, text) { FILE: scripts/mergeChangelog.ts constant CATEGORY_ORDER (line 28) | const CATEGORY_ORDER = [ function escapeRegex (line 39) | function escapeRegex(str: string): string { function findReleaseHeaderIndex (line 45) | function findReleaseHeaderIndex(lines: string[], version: string): number { function findEndBoundary (line 55) | function findEndBoundary( function parseCategories (line 71) | function parseCategories(releaseLines: string[]): Map { function findPreviousStableVersion (line 97) | function findPreviousStableVersion(lines: string[], startIdx: number): s... function updateHeaderCompareLink (line 110) | function updateHeaderCompareLink( function collectPrereleaseHeaders (line 124) | function collectPrereleaseHeaders( function buildOutputLines (line 152) | function buildOutputLines( FILE: scripts/releaseUtils.ts function run (line 7) | function run( function getLatestTag (line 17) | async function getLatestTag(pkgName: string): Promise { function logRecentCommits (line 25) | async function logRecentCommits(pkgName: string): Promise { function updateTemplateVersions (line 53) | async function updateTemplateVersions(): Promise {