MCPcopy Create free account

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

Functions296 in github.com/codesandbox/sandpack-bundler

Methodcompile
()
src/bundler/module/Module.ts:53
Methodconstructor
()
src/index.ts:24
Methodconstructor
(ms: number)
src/utils/Debouncer.ts:8
Methodconstructor
(opts: WorkerMessageBusOpts)
src/utils/WorkerMessageBus.ts:62
Methodconstructor
(autoStart: boolean, concurrency: number = 50)
src/utils/NamedPromiseQueue.ts:7
Methodconstructor
()
src/protocol/iframe.ts:14
Methodconstructor
(error: Error, path: string)
src/errors/CompilationError.ts:28
Methodconstructor
(message: string, path?: string)
src/errors/BundlerError.ts:11
Methodconstructor
(res: Response, text: string)
src/errors/FetchError.ts:10
Methodconstructor
(filepath: string, parent: string)
src/errors/ModuleNotFound.ts:9
Methodconstructor
(message: string)
src/errors/SandpackError.ts:4
Methodconstructor
(message: string, name: string)
src/errors/IntegrationError.ts:8
Methodconstructor
(sourceMap: SourceMapConsumer)
src/error-listener/get-source-map.ts:20
Methodconstructor
(lineNumber: number, content: string, highlight: boolean = false)
src/error-listener/stack-frame.ts:12
Methodconstructor
( functionName: string | null = null, fileName: string | null = null, lineNumber: number | null =
src/error-listener/stack-frame.ts:36
Methodconstructor
(readonly name: string)
src/FileSystem/FSLayer.ts:2
Methodconstructor
(layers: FSLayer[])
src/FileSystem/index.ts:11
Methodconstructor
(private registry: ModuleRegistry)
src/FileSystem/layers/NodeModuleFSLayer.ts:15
Methodconstructor
(private memoryFS: MemoryFSLayer, private messageBus: IFrameParentMessageBus)
src/FileSystem/layers/IFrameFSLayer.ts:10
Methodconstructor
()
src/FileSystem/layers/MemoryFSLayer.ts:6
Methodconstructor
(options: IBundlerOpts)
src/bundler/bundler.ts:56
Methodconstructor
(public name: string)
src/bundler/presets/Preset.ts:13
Methodconstructor
()
src/bundler/presets/react/ReactPreset.ts:13
Methodconstructor
()
src/bundler/presets/solid/SolidPreset.ts:12
Methodconstructor
(evaluation: Evaluation)
src/bundler/module/Evaluation.ts:12
Methodconstructor
(module: Module)
src/bundler/module/Evaluation.ts:24
Methodconstructor
(filepath: string, source: string, isCompiled: boolean = false, bundler: Bundler)
src/bundler/module/Module.ts:26
Methodconstructor
(private module: Module)
src/bundler/module/hot.ts:7
Methodconstructor
(public id: string)
src/bundler/transforms/Transformer.ts:18
Methodconstructor
()
src/bundler/transforms/style/index.ts:7
Methodconstructor
()
src/bundler/transforms/css/index.ts:9
Methodconstructor
()
src/bundler/transforms/react-refresh/index.ts:198
Methodconstructor
()
src/bundler/transforms/babel/index.ts:11
Methodconstructor
(bundler: Bundler)
src/bundler/module-registry/index.ts:20
Methodconstructor
(name: string, version: string, files: Record<string, CDNModuleFileType>, modules: string[])
src/bundler/module-registry/NodeModule.ts:10
Methoddata
()
src/bundler/module/hot.ts:9
Functiondebug
(...data: any[])
src/utils/logger.ts:38
Methoddecline
(path: string | string[])
src/bundler/module/hot.ts:51
Functiondirname
(path: string)
src/utils/path.ts:75
Methoddispose
()
src/index.ts:216
Methoddispose
()
src/utils/emitter.ts:52
Methoddispose
()
src/utils/Disposable.ts:25
Methoddispose
* Dispose of all registered disposables and mark this object as disposed. * * Any future disposables added to this object will be disposed of on
src/utils/Disposable.ts:64
Methoddispose
(cb: () => void)
src/bundler/module/hot.ts:71
Functionerror
(...data: any[])
src/utils/logger.ts:50
FunctionerrorHandler
(callback: ErrorCallback, evt: Event & { error?: any })
src/error-listener/unhandled-error.ts:5
Methodevent
()
src/utils/emitter.ts:31
Functionextname
(path: string)
src/utils/path.ts:136
MethodgetSource
* Returns the code for a given source file name. * @param {string} sourceName The name of the source file.
src/error-listener/get-source-map.ts:63
FunctiongroupCollapsed
(...data: any[])
src/utils/logger.ts:56
FunctiongroupEnd
()
src/utils/logger.ts:62
Methodinit
(bundler: Bundler)
src/bundler/presets/react/ReactPreset.ts:17
Methodinit
(bundler: Bundler)
src/bundler/presets/solid/SolidPreset.ts:16
Methodinit
(bundler: Bundler)
src/bundler/transforms/Transformer.ts:20
Methodinit
(bundler: Bundler)
src/bundler/transforms/react-refresh/index.ts:202
Methodinit
()
src/bundler/transforms/babel/index.ts:15
Methodinitiators
()
src/bundler/module/Module.ts:37
Methodinvalidate
()
src/bundler/module/hot.ts:76
Methodis
(arg: any)
src/utils/Disposable.ts:39
MethodisDeclined
(isEntry: boolean)
src/bundler/module/HMR.ts:59
MethodisFileAsync
(path: string)
src/FileSystem/FSLayer.ts:28
MethodisFileAsync
(path: string)
src/FileSystem/index.ts:92
MethodisFileAsync
(path: string)
src/FileSystem/layers/NodeModuleFSLayer.ts:110
MethodisFileAsync
(path: string)
src/FileSystem/layers/IFrameFSLayer.ts:63
MethodisFileAsync
(path: string)
src/FileSystem/layers/MemoryFSLayer.ts:34
MethodisFileSync
(path: string)
src/FileSystem/index.ts:77
MethodisFileSync
(path: string)
src/FileSystem/layers/MemoryFSLayer.ts:30
Functionjoin
(...paths: Array<any>)
src/utils/path.ts:56
FunctionlistenOnce
(event: Event<T>)
src/utils/emitter.ts:18
FunctionlogFactory
(step: typeof steps[number], details = '')
src/utils/logger.ts:13
MethodmapTransformers
(module: Module)
src/bundler/presets/react/ReactPreset.ts:28
MethodmapTransformers
(module: Module)
src/bundler/presets/solid/SolidPreset.ts:26
MethodonDispose
(cb: () => void)
src/utils/Disposable.ts:21
MethodonIdle
()
src/utils/NamedPromiseQueue.ts:35
FunctionparseError
* Turns an <code>Error</code>, or similar object, into a set of <code>StackFrame</code>s. * @alias parse
src/error-listener/parser.ts:68
MethodreadFileAsync
(path: string)
src/FileSystem/index.ts:57
MethodreadFileAsync
(path: string)
src/FileSystem/layers/NodeModuleFSLayer.ts:81
MethodreadFileAsync
(path: string)
src/FileSystem/layers/IFrameFSLayer.ts:38
MethodreadFileAsync
(path: string)
src/FileSystem/layers/MemoryFSLayer.ts:22
MethodreadFileSync
(path: string)
src/FileSystem/index.ts:37
MethodreadFileSync
(path: string)
src/FileSystem/layers/NodeModuleFSLayer.ts:65
MethodreadFileSync
(path: string)
src/FileSystem/layers/MemoryFSLayer.ts:14
FunctionrejectionHandler
(err: any)
src/error-listener/unhandled-rejection.ts:13
Functionrelative
(from: string, to: string)
src/utils/path.ts:231
Methodrequire
(specifier: string)
src/bundler/module/Evaluation.ts:33
MethodresetCache
()
src/FileSystem/index.ts:23
MethodresetCache
()
src/FileSystem/layers/IFrameFSLayer.ts:22
MethodresizePolling
()
src/index.ts:89
FunctionsetLogLevel
(newLogLevel: SandpackLogLevel)
src/utils/logger.ts:34
MethodshouldSkipLayer
(path: string)
src/FileSystem/layers/IFrameFSLayer.ts:18
Methodtransform
(ctx: ITranspilationContext, config: any)
src/bundler/transforms/style/index.ts:11
Methodtransform
(ctx: ITranspilationContext, config: any)
src/bundler/transforms/css/index.ts:22
Methodtransform
(ctx: ITranspilationContext, config: any)
src/bundler/transforms/react-refresh/index.ts:206
FunctiontraverseAll
(node: Node, visitor: (node: Node) => void)
src/bundler/transforms/babel/walker/traverse-all.ts:4
Functionwarn
(...data: any[])
src/utils/logger.ts:44
MethodwriteFile
(path: string, content: string)
src/FileSystem/index.ts:29
← previous201–296 of 296, ranked by callers