Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codesandbox/sandpack-bundler
/ functions
Functions
296 in github.com/codesandbox/sandpack-bundler
⨍
Functions
296
◇
Types & classes
105
Method
compile
()
src/bundler/module/Module.ts:53
Method
constructor
()
src/index.ts:24
Method
constructor
(ms: number)
src/utils/Debouncer.ts:8
Method
constructor
(opts: WorkerMessageBusOpts)
src/utils/WorkerMessageBus.ts:62
Method
constructor
(autoStart: boolean, concurrency: number = 50)
src/utils/NamedPromiseQueue.ts:7
Method
constructor
()
src/protocol/iframe.ts:14
Method
constructor
(error: Error, path: string)
src/errors/CompilationError.ts:28
Method
constructor
(message: string, path?: string)
src/errors/BundlerError.ts:11
Method
constructor
(res: Response, text: string)
src/errors/FetchError.ts:10
Method
constructor
(filepath: string, parent: string)
src/errors/ModuleNotFound.ts:9
Method
constructor
(message: string)
src/errors/SandpackError.ts:4
Method
constructor
(message: string, name: string)
src/errors/IntegrationError.ts:8
Method
constructor
(sourceMap: SourceMapConsumer)
src/error-listener/get-source-map.ts:20
Method
constructor
(lineNumber: number, content: string, highlight: boolean = false)
src/error-listener/stack-frame.ts:12
Method
constructor
( functionName: string | null = null, fileName: string | null = null, lineNumber: number | null =
src/error-listener/stack-frame.ts:36
Method
constructor
(readonly name: string)
src/FileSystem/FSLayer.ts:2
Method
constructor
(layers: FSLayer[])
src/FileSystem/index.ts:11
Method
constructor
(private registry: ModuleRegistry)
src/FileSystem/layers/NodeModuleFSLayer.ts:15
Method
constructor
(private memoryFS: MemoryFSLayer, private messageBus: IFrameParentMessageBus)
src/FileSystem/layers/IFrameFSLayer.ts:10
Method
constructor
()
src/FileSystem/layers/MemoryFSLayer.ts:6
Method
constructor
(options: IBundlerOpts)
src/bundler/bundler.ts:56
Method
constructor
(public name: string)
src/bundler/presets/Preset.ts:13
Method
constructor
()
src/bundler/presets/react/ReactPreset.ts:13
Method
constructor
()
src/bundler/presets/solid/SolidPreset.ts:12
Method
constructor
(evaluation: Evaluation)
src/bundler/module/Evaluation.ts:12
Method
constructor
(module: Module)
src/bundler/module/Evaluation.ts:24
Method
constructor
(filepath: string, source: string, isCompiled: boolean = false, bundler: Bundler)
src/bundler/module/Module.ts:26
Method
constructor
(private module: Module)
src/bundler/module/hot.ts:7
Method
constructor
(public id: string)
src/bundler/transforms/Transformer.ts:18
Method
constructor
()
src/bundler/transforms/style/index.ts:7
Method
constructor
()
src/bundler/transforms/css/index.ts:9
Method
constructor
()
src/bundler/transforms/react-refresh/index.ts:198
Method
constructor
()
src/bundler/transforms/babel/index.ts:11
Method
constructor
(bundler: Bundler)
src/bundler/module-registry/index.ts:20
Method
constructor
(name: string, version: string, files: Record<string, CDNModuleFileType>, modules: string[])
src/bundler/module-registry/NodeModule.ts:10
Method
data
()
src/bundler/module/hot.ts:9
Function
debug
(...data: any[])
src/utils/logger.ts:38
Method
decline
(path: string | string[])
src/bundler/module/hot.ts:51
Function
dirname
(path: string)
src/utils/path.ts:75
Method
dispose
()
src/index.ts:216
Method
dispose
()
src/utils/emitter.ts:52
Method
dispose
()
src/utils/Disposable.ts:25
Method
dispose
* 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
Method
dispose
(cb: () => void)
src/bundler/module/hot.ts:71
Function
error
(...data: any[])
src/utils/logger.ts:50
Function
errorHandler
(callback: ErrorCallback, evt: Event & { error?: any })
src/error-listener/unhandled-error.ts:5
Method
event
()
src/utils/emitter.ts:31
Function
extname
(path: string)
src/utils/path.ts:136
Method
getSource
* 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
Function
groupCollapsed
(...data: any[])
src/utils/logger.ts:56
Function
groupEnd
()
src/utils/logger.ts:62
Method
init
(bundler: Bundler)
src/bundler/presets/react/ReactPreset.ts:17
Method
init
(bundler: Bundler)
src/bundler/presets/solid/SolidPreset.ts:16
Method
init
(bundler: Bundler)
src/bundler/transforms/Transformer.ts:20
Method
init
(bundler: Bundler)
src/bundler/transforms/react-refresh/index.ts:202
Method
init
()
src/bundler/transforms/babel/index.ts:15
Method
initiators
()
src/bundler/module/Module.ts:37
Method
invalidate
()
src/bundler/module/hot.ts:76
Method
is
(arg: any)
src/utils/Disposable.ts:39
Method
isDeclined
(isEntry: boolean)
src/bundler/module/HMR.ts:59
Method
isFileAsync
(path: string)
src/FileSystem/FSLayer.ts:28
Method
isFileAsync
(path: string)
src/FileSystem/index.ts:92
Method
isFileAsync
(path: string)
src/FileSystem/layers/NodeModuleFSLayer.ts:110
Method
isFileAsync
(path: string)
src/FileSystem/layers/IFrameFSLayer.ts:63
Method
isFileAsync
(path: string)
src/FileSystem/layers/MemoryFSLayer.ts:34
Method
isFileSync
(path: string)
src/FileSystem/index.ts:77
Method
isFileSync
(path: string)
src/FileSystem/layers/MemoryFSLayer.ts:30
Function
join
(...paths: Array<any>)
src/utils/path.ts:56
Function
listenOnce
(event: Event<T>)
src/utils/emitter.ts:18
Function
logFactory
(step: typeof steps[number], details = '')
src/utils/logger.ts:13
Method
mapTransformers
(module: Module)
src/bundler/presets/react/ReactPreset.ts:28
Method
mapTransformers
(module: Module)
src/bundler/presets/solid/SolidPreset.ts:26
Method
onDispose
(cb: () => void)
src/utils/Disposable.ts:21
Method
onIdle
()
src/utils/NamedPromiseQueue.ts:35
Function
parseError
* Turns an <code>Error</code>, or similar object, into a set of <code>StackFrame</code>s. * @alias parse
src/error-listener/parser.ts:68
Method
readFileAsync
(path: string)
src/FileSystem/index.ts:57
Method
readFileAsync
(path: string)
src/FileSystem/layers/NodeModuleFSLayer.ts:81
Method
readFileAsync
(path: string)
src/FileSystem/layers/IFrameFSLayer.ts:38
Method
readFileAsync
(path: string)
src/FileSystem/layers/MemoryFSLayer.ts:22
Method
readFileSync
(path: string)
src/FileSystem/index.ts:37
Method
readFileSync
(path: string)
src/FileSystem/layers/NodeModuleFSLayer.ts:65
Method
readFileSync
(path: string)
src/FileSystem/layers/MemoryFSLayer.ts:14
Function
rejectionHandler
(err: any)
src/error-listener/unhandled-rejection.ts:13
Function
relative
(from: string, to: string)
src/utils/path.ts:231
Method
require
(specifier: string)
src/bundler/module/Evaluation.ts:33
Method
resetCache
()
src/FileSystem/index.ts:23
Method
resetCache
()
src/FileSystem/layers/IFrameFSLayer.ts:22
Method
resizePolling
()
src/index.ts:89
Function
setLogLevel
(newLogLevel: SandpackLogLevel)
src/utils/logger.ts:34
Method
shouldSkipLayer
(path: string)
src/FileSystem/layers/IFrameFSLayer.ts:18
Method
transform
(ctx: ITranspilationContext, config: any)
src/bundler/transforms/style/index.ts:11
Method
transform
(ctx: ITranspilationContext, config: any)
src/bundler/transforms/css/index.ts:22
Method
transform
(ctx: ITranspilationContext, config: any)
src/bundler/transforms/react-refresh/index.ts:206
Function
traverseAll
(node: Node, visitor: (node: Node) => void)
src/bundler/transforms/babel/walker/traverse-all.ts:4
Function
warn
(...data: any[])
src/utils/logger.ts:44
Method
writeFile
(path: string, content: string)
src/FileSystem/index.ts:29
← previous
201–296 of 296, ranked by callers