MCPcopy Create free account

hub / github.com/codesandbox/sandpack-bundler / functions

Functions296 in github.com/codesandbox/sandpack-bundler

↓ 1 callersMethodgetLoader
()
src/bundler/transforms/css/index.ts:13
↓ 1 callersMethodgetOriginalPosition
* Returns the original code position for a generated code position. * @param {number} line The line of the generated code position. * @param {nu
src/error-listener/get-source-map.ts:29
↓ 1 callersFunctiongetPlugins
(plugins: any)
src/bundler/transforms/babel/babel-worker.ts:62
↓ 1 callersFunctiongetPotentialPathsFromTSConfig
(moduleSpecifier: string, config: ProcessedTSConfig)
src/resolver/utils/tsconfig.ts:30
↓ 1 callersFunctiongetPreset
(presetName: string)
src/bundler/presets/registry.ts:11
↓ 1 callersFunctiongetPresets
(presets: any)
src/bundler/transforms/babel/babel-worker.ts:27
↓ 1 callersMethodgetSources
()
src/error-listener/get-source-map.ts:67
↓ 1 callersFunctiongetStackFrames
( bundler: Bundler, error: Error, contextSize: number = 3 )
src/error-listener/get-stack-frames.ts:14
↓ 1 callersFunctiongetStyleId
(id: string)
src/bundler/transforms/style/index.ts:4
↓ 1 callersFunctiongetTSConfig
(opts: IResolveOptions)
src/resolver/resolver.ts:242
↓ 1 callersMethodgetTransformer
(id: string)
src/bundler/presets/Preset.ts:24
↓ 1 callersMethodgetTransformers
(module: Module)
src/bundler/presets/Preset.ts:36
↓ 1 callersMethodgetUnpkgFile
(moduleName: string, moduleVersion: string, path: string)
src/FileSystem/layers/NodeModuleFSLayer.ts:45
↓ 1 callersFunctiongetWrapperCode
(sourceCode: string)
src/bundler/transforms/react-refresh/index.ts:195
↓ 1 callersMethodhandleCompile
(compileRequest: ICompileRequest)
src/index.ts:124
↓ 1 callersFunctionhandleEvaluate
(command: string)
src/integrations/console.ts:12
↓ 1 callersMethodhandleParentMessage
(message: any)
src/index.ts:66
↓ 1 callersFunctionhookConsole
(output: (log: any) => void)
src/integrations/console.ts:6
↓ 1 callersMethodinit
()
src/index.ts:116
↓ 1 callersMethodinitPreset
(preset: string)
src/bundler/bundler.ts:79
↓ 1 callersMethodinitResizeEvent
()
src/index.ts:88
↓ 1 callersFunctioninsertCss
(id: string, css?: string, hmrEnabled?: boolean)
src/bundler/transforms/style/insert-css.ts:25
↓ 1 callersFunctionisAbsolute
(path: string)
src/utils/path.ts:34
↓ 1 callersFunctionisBuildDep
(name: string)
src/bundler/module-registry/build-dep.ts:12
↓ 1 callersMethodisDirty
()
src/bundler/module/HMR.ts:48
↓ 1 callersFunctionisFile
(filepath: string, isFileFn: FnIsFile)
src/resolver/utils/fs.ts:8
↓ 1 callersMethodisFileSync
(path: string)
src/FileSystem/layers/NodeModuleFSLayer.ts:97
↓ 1 callersMethodisFileSync
(path: string)
src/FileSystem/layers/IFrameFSLayer.ts:59
↓ 1 callersMethodisHot
* Returns whether this module should reset the compilation of its parents
src/bundler/module/HMR.ts:55
↓ 1 callersFunctionisModuleSpecifier
(specifier: string)
src/resolver/utils/module-specifier.ts:10
↓ 1 callersFunctionisRetryableStatus
(status: number)
src/utils/fetch.ts:21
↓ 1 callersFunctionjoinLayer
(parentLayer, childLayer)
src/bundler/transforms/css/import-loader/join-layer.ts:2
↓ 1 callersFunctionjoinMedia
(parentMedia, childMedia)
src/bundler/transforms/css/import-loader/join-media.ts:2
↓ 1 callersFunctionlistenToRuntimeErrors
( bundler: Bundler, crash: (record: ErrorRecord) => void, filename: string = '/bundle.js' )
src/error-listener/index.ts:37
↓ 1 callersFunctionloadImportContent
(result, stmt, filename: string, options: Options, state)
src/bundler/transforms/css/import-loader/index.ts:281
↓ 1 callersMethodloadModuleDependencies
()
src/bundler/module-registry/index.ts:87
↓ 1 callersMethodloadNodeModules
()
src/bundler/bundler.ts:163
↓ 1 callersFunctionloadPlugin
(name: string)
src/bundler/transforms/babel/babel-plugin-registry.ts:56
↓ 1 callersFunctionloadPreset
(name: string)
src/bundler/transforms/babel/babel-plugin-registry.ts:48
↓ 1 callersFunctionmap
* Enhances a set of <code>StackFrame</code>s with their original positions and code (when available). * @param {StackFrame[]} frames A set of <code>S
src/error-listener/mapper.ts:29
↓ 1 callersMethodmapTransformers
(module: Module)
src/bundler/presets/Preset.ts:32
↓ 1 callersMethodnextMessageId
()
src/utils/WorkerMessageBus.ts:117
↓ 1 callersFunctionnormalizeResolverOptions
(opts: IResolveOptionsInput)
src/resolver/resolver.ts:27
↓ 1 callersFunctionnullthrows
(value?: T | null, message?: string)
src/utils/nullthrows.ts:1
↓ 1 callersFunctionparseCharset
(result, atRule)
src/bundler/transforms/css/import-loader/parse-statements.ts:66
↓ 1 callersFunctionparseError
(serializedError: any)
src/utils/WorkerMessageBus.ts:42
↓ 1 callersFunctionparseError
(error: any)
src/errors/CompilationError.ts:9
↓ 1 callersFunctionparseImport
(result, atRule)
src/bundler/transforms/css/import-loader/parse-statements.ts:80
↓ 1 callersFunctionparseMedia
(result, atRule)
src/bundler/transforms/css/import-loader/parse-statements.ts:56
↓ 1 callersFunctionparseStatements
(result, styles)
src/bundler/transforms/css/import-loader/parse-statements.ts:18
↓ 1 callersFunctionpermanentRegisterConsole
(type: string, callback: ConsoleProxyCallback)
src/error-listener/proxy-console.ts:40
↓ 1 callersMethodpreloadModules
()
src/bundler/module-registry/index.ts:35
↓ 1 callersFunctionprocessContent
(result, content: string, filename: string, options: Options, postcss)
src/bundler/transforms/css/import-loader/process-content.ts:20
↓ 1 callersMethodprocessPackageJSON
()
src/bundler/bundler.ts:112
↓ 1 callersMethodreadFileSync
(path: string)
src/FileSystem/layers/IFrameFSLayer.ts:34
↓ 1 callersFunctionreadFiles
(dir: string, rootPath: string, files: Map<string, string>)
src/resolver/resolver.test.ts:11
↓ 1 callersFunctionregisterReactStack
()
src/error-listener/proxy-console.ts:21
↓ 1 callersMethodregisterRuntime
(id: string, code: string)
src/bundler/bundler.ts:86
↓ 1 callersFunctionregisterStackTraceLimit
(limit: number = MAX_STACK_LENGTH)
src/error-listener/stack-trace-limit.ts:5
↓ 1 callersFunctionregisterUnhandledError
(target: EventTarget, callback: ErrorCallback)
src/error-listener/unhandled-error.ts:20
↓ 1 callersFunctionregisterUnhandledRejection
(target: EventTarget, callback: ErrorCallback)
src/error-listener/unhandled-rejection.ts:12
↓ 1 callersFunctionreplaceHTML
(html: string)
src/utils/html.ts:43
↓ 1 callersMethodreplaceHTML
()
src/bundler/bundler.ts:457
↓ 1 callersMethodrequest
(method: string, ...params: any)
src/utils/WorkerMessageBus.ts:122
↓ 1 callersMethodresetCache
()
src/FileSystem/FSLayer.ts:8
↓ 1 callersMethodresetModules
Reset all compilation data
src/bundler/bundler.ts:67
↓ 1 callersFunctionresolveCSSFile
(ctx: ITranspilationContext, path: string, basePath: string)
src/bundler/transforms/css/postcss-loader.ts:8
↓ 1 callersMethodresolveEntryPoint
()
src/bundler/bundler.ts:124
↓ 1 callersFunctionresolveFile
(filepath: string, dir: string)
src/resolver/resolver.ts:78
↓ 1 callersFunctionresolveImportId
(result, stmt, options: Options, state)
src/bundler/transforms/css/import-loader/index.ts:240
↓ 1 callersFunctionresolveModule
(moduleSpecifier: string, opts: IResolveOptions)
src/resolver/resolver.ts:137
↓ 1 callersFunctionresolveNodeModule
(moduleSpecifier: string, opts: IResolveOptions)
src/resolver/resolver.ts:145
↓ 1 callersFunctionrunPostcss
(postcss, content: string, filename: string, plugins: AcceptedPlugin[], parsers, index: number = 0)
src/bundler/transforms/css/import-loader/process-content.ts:5
↓ 1 callersFunctionserializeError
(originalError: any)
src/utils/WorkerMessageBus.ts:29
↓ 1 callersMethodsetAcceptCallback
(callback?: () => void)
src/bundler/module/HMR.ts:24
↓ 1 callersMethodsetDisposeHandler
(callback: () => void)
src/bundler/module/HMR.ts:29
↓ 1 callersMethodsetInvalidated
* Setting the module to invalidated means that we MUST evaluate it again, which means * that we throw away its compilation and hmrConfig, and we're
src/bundler/module/HMR.ts:72
↓ 1 callersFunctionsleep
(ms: number)
src/utils/sleep.ts:1
↓ 1 callersFunctionsortObj
(obj: Record<string, T>)
src/utils/object.ts:1
↓ 1 callersFunctionsplitPath
(filename: string)
src/utils/path.ts:3
↓ 1 callersFunctionstripInlineStacktrace
(message: string)
src/error-listener/warnings.ts:12
↓ 1 callersFunctiontransform
({ code, filepath, config }: ITransformData)
src/bundler/transforms/babel/babel-worker.ts:85
↓ 1 callersMethodtransform
(ctx: ITranspilationContext, config: Config)
src/bundler/transforms/Transformer.ts:22
↓ 1 callersMethodtransform
(ctx: ITranspilationContext, config: any)
src/bundler/transforms/babel/index.ts:33
↓ 1 callersFunctionunmap
* Turns a set of mapped <code>StackFrame</code>s back into their generated code position and enhances them with code. * @param {string} fileUri The U
src/error-listener/unmapper.ts:35
↓ 1 callersFunctionwarningMessage
(warning: string, frames: ReactFrame[])
src/error-listener/warnings.ts:19
↓ 1 callersFunctionwrapper
(id: string, css: string, hmrEnabled = false)
src/bundler/transforms/style/insert-css.ts:1
↓ 1 callersMethodwriteFile
(path: string, content: string)
src/FileSystem/layers/IFrameFSLayer.ts:30
↓ 1 callersMethodwriteFile
(path: string, content: string)
src/FileSystem/layers/MemoryFSLayer.ts:10
↓ 1 callersMethodwriteNewFiles
writes any new files and returns a list of updated modules
src/bundler/bundler.ts:274
FunctionAtImport
(initialOpts: InitialOptions)
src/bundler/transforms/css/import-loader/index.ts:40
FunctionCallExpression
(path: any)
src/bundler/transforms/babel/dep-collector.ts:4
FunctionOnce
(styles, { result, atRule, postcss })
src/bundler/transforms/css/import-loader/index.ts:53
Method_messageListener
(evt: any)
src/protocol/iframe.ts:20
Functionabsolute
(path: string)
src/utils/path.ts:118
Methodaccept
(path: string | string[], cb: () => any)
src/bundler/module/hot.ts:30
MethodaugmentDependencies
(dependencies: DepMap)
src/bundler/presets/react/ReactPreset.ts:80
MethodaugmentDependencies
(dependencies: DepMap)
src/bundler/presets/solid/SolidPreset.ts:53
Functionbasename
(p: string, ext: string = '')
src/utils/path.ts:93
Methodclear
()
src/utils/NamedPromiseQueue.ts:30
← previousnext →101–200 of 296, ranked by callers