MCPcopy Create free account

hub / github.com/antfu-collective/vite-plugin-inspect / functions

Functions85 in github.com/antfu-collective/vite-plugin-inspect

↓ 7 callersFunctiongetInspectContext
(devtoolsCtx: object)
src/node/rpc/ctx.ts:9
↓ 5 callersMethodgetEnvContext
(env?: Environment)
src/node/context.ts:57
↓ 5 callersMethodgetViteContext
(configOrId: ResolvedConfig | string)
src/node/context.ts:41
↓ 5 callersMethodqueryEnv
(query: QueryEnv)
src/node/context.ts:64
↓ 4 callersMethodnormalizeId
(id: string)
src/node/context.ts:153
↓ 3 callersFunctiongetAllQueryEnvs
(ctx: InspectContext)
src/node/rpc/utils.ts:4
↓ 3 callersMethodinvalidate
(id: string)
src/node/context.ts:148
↓ 3 callersMethodresolveId
(id = '')
src/node/context.ts:229
↓ 2 callersFunctiondoQuery
()
src/client/stores/payload.ts:48
↓ 2 callersFunctiongetAllModuleIds
(ctx: InspectContext)
src/node/rpc/utils.ts:14
↓ 2 callersFunctiongetHsla
( hue: number, opacity: number | string = 1, )
src/client/logic/color.ts:43
↓ 2 callersMethodgetMetadata
()
src/node/context.ts:24
↓ 2 callersMethodgetModulesList
(pluginCtx?: Rollup.PluginContext)
src/node/context.ts:159
↓ 2 callersMethodgetPluginMetrics
()
src/node/context.ts:242
↓ 2 callersFunctionreadManifest
()
test/build.test.ts:65
↓ 2 callersFunctionreadRecord
(entry: StaticRpcDumpManifestQueryEntry, path: string)
test/build.test.ts:69
↓ 2 callersMethodrecordResolveId
(id: string, info: ResolveIdInfo)
src/node/context.ts:141
↓ 2 callersFunctionwriteJSON
(filename: string, data: any)
src/node/build.ts:101
↓ 1 callersMethodclearId
(_id: string)
src/node/context.ts:304
↓ 1 callersMethodclearModuleTransform
(id: string)
src/node/context.ts:295
↓ 1 callersFunctioncreateBuildGenerator
(ctx: InspectContext)
src/node/build.ts:39
↓ 1 callersFunctioncreateEnvOrderHooks
( environmentNames: string[], { onFirst, onEach, onLast }: EnvOrderHooks<Args>, )
src/node/build.ts:15
↓ 1 callersFunctiongetHashColorFromString
( name: string, opacity: number | string = 1, )
src/client/logic/color.ts:29
↓ 1 callersMethodgetModuleTransformInfo
(id: string)
src/node/context.ts:287
↓ 1 callersFunctionhijackHook
(plugin: Plugin, name: K, wrapper: HookWrapper<K>)
src/node/hijack.ts:20
↓ 1 callersFunctionhijackPlugin
( plugin: Plugin, ctx: InspectContext, )
src/node/hijack.ts:57
↓ 1 callersFunctiononEach
(pluginCtx)
src/node/index.ts:214
↓ 1 callersFunctiononFirst
()
src/node/index.ts:211
↓ 1 callersFunctiononLast
(pluginCtx)
src/node/index.ts:217
↓ 1 callersFunctionopenBrowser
(address: string)
src/node/utils.ts:4
↓ 1 callersFunctionparseError
(error: any)
src/node/hijack.ts:193
↓ 1 callersFunctionreadFirstRecord
(name: string)
test/build.test.ts:74
↓ 1 callersMethodrecordLoad
(id: string, info: TransformInfo)
src/node/context.ts:135
↓ 1 callersMethodrecordTransform
(id: string, info: TransformInfo, preTransformCode: string)
src/node/context.ts:118
↓ 1 callersFunctionrefetch
(force = false)
src/client/stores/payload.ts:62
↓ 1 callersFunctionremoveVersionQuery
(url: string)
src/node/utils.ts:28
↓ 1 callersMethodresolveIdRecursive
(id: string)
src/node/context.ts:235
↓ 1 callersFunctionserializeForSourcemapsVisualizer
(code: string, map: string)
src/client/logic/utils.ts:51
↓ 1 callersFunctionserializePlugin
(plugin: Plugin)
src/node/utils.ts:10
↓ 1 callersFunctionsetInspectContext
(devtoolsCtx: object, ctx: InspectContext)
src/node/rpc/ctx.ts:5
↓ 1 callersFunctionsetupDevTools
(ctx: InspectContext, base: string)
src/node/index.ts:123
↓ 1 callersFunctionsetupMiddlewarePerf
( ctx: InspectContextVite, middlewares: Connect.Server['stack'], )
src/node/index.ts:38
↓ 1 callersFunctionstringifyError
(err: any)
src/node/hijack.ts:203
↓ 1 callersFunctionsyncEditorScrolls
(primary: CodeMirror.Editor, target: CodeMirror.Editor)
src/client/logic/codemirror.ts:59
FunctionPluginInspect
(options: ViteInspectOptions = {})
src/node/index.ts:18
Functionapply
(_, { command })
src/node/index.ts:174
FunctionbuildEnd
()
src/node/index.ts:252
FunctioncalculateDiff
(left: string, right: string)
src/client/worker/diff.worker.ts:4
FunctioncalculateDiffWithWorker
(left: string, right: string)
src/client/worker/diff.ts:7
FunctionconfigResolved
(config)
src/node/index.ts:181
FunctionconfigureServer
(server: ViteDevServer)
src/node/index.ts:95
Methodconstructor
( public options: ViteInspectOptions, )
src/node/context.ts:18
Methodconstructor
( public readonly id: string, public readonly context: InspectContext, public readonly config: Res
src/node/context.ts:80
Methodconstructor
( public readonly contextMain: InspectContext, public readonly contextVite: InspectContextVite, pu
src/node/context.ts:102
FunctioncreatePreviewServer
(staticPath: string)
src/node/preview.ts:7
MethoddefaultMetricInfo
()
src/node/context.ts:245
FunctiongenerateForEnv
(pluginCtx: Rollup.PluginContext)
src/node/build.ts:59
FunctiongenerateMetadata
()
src/node/build.ts:92
MethodgetEnvContext
(env: Environment | string)
src/node/context.ts:86
FunctiongetHot
()
src/client/logic/hot.ts:1
FunctiongetOutputDir
()
src/node/build.ts:51
FunctiongetPluginColor
(name: string, opacity = 1)
src/client/logic/color.ts:54
MethodgetSize
(str: string | undefined)
src/node/context.ts:209
FunctionguessMode
(code: string)
src/client/logic/utils.ts:19
Functionhandler
(code)
src/client/vite.config.ts:27
Functionhandler
(id)
src/node/index.ts:238
FunctionhotUpdate
({ modules })
src/node/index.ts:244
Functioninit
()
src/client/stores/payload.ts:22
FunctioninspectSourcemaps
({ code, sourcemaps }: { code: string, sourcemaps?: string })
src/client/logic/utils.ts:29
MethodisVirtual
(pluginName: string, transformName: string)
src/node/context.ts:178
Functionload
(id)
test/build.test.ts:35
Functionload
(id)
src/client/vite.config.ts:34
Functionload
(id)
playground/vite.config.ts:22
FunctionmsToTime
(ms: number)
src/client/logic/utils.ts:1
FunctionresolveId
(id)
test/build.test.ts:32
FunctionresolveId
(id)
playground/vite.config.ts:19
FunctionsafeJsonParse
(str: string)
src/client/logic/utils.ts:39
Functionsetup
(options: any)
src/nuxt.ts:12
Functionsetup
(devtoolsCtx: any)
src/node/index.ts:129
FunctionsetupOutputDir
()
src/node/build.ts:54
FunctionsyncScrollListeners
( cm1: CodeMirror.Editor, cm2: CodeMirror.Editor, )
src/client/logic/codemirror.ts:71
FunctiontoggleListMode
()
src/client/stores/options.ts:66
FunctiontoggleSort
()
src/client/stores/options.ts:56
Functiontransform
(code, id)
src/client/vite.config.ts:40
FunctionuseCodeMirror
( container: Ref<HTMLDivElement | null | undefined>, input: Ref<string> | WritableComputedRef<string>, o
src/client/logic/codemirror.ts:21