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
↓ 1 callers
Method
getLoader
()
src/bundler/transforms/css/index.ts:13
↓ 1 callers
Method
getOriginalPosition
* 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 callers
Function
getPlugins
(plugins: any)
src/bundler/transforms/babel/babel-worker.ts:62
↓ 1 callers
Function
getPotentialPathsFromTSConfig
(moduleSpecifier: string, config: ProcessedTSConfig)
src/resolver/utils/tsconfig.ts:30
↓ 1 callers
Function
getPreset
(presetName: string)
src/bundler/presets/registry.ts:11
↓ 1 callers
Function
getPresets
(presets: any)
src/bundler/transforms/babel/babel-worker.ts:27
↓ 1 callers
Method
getSources
()
src/error-listener/get-source-map.ts:67
↓ 1 callers
Function
getStackFrames
( bundler: Bundler, error: Error, contextSize: number = 3 )
src/error-listener/get-stack-frames.ts:14
↓ 1 callers
Function
getStyleId
(id: string)
src/bundler/transforms/style/index.ts:4
↓ 1 callers
Function
getTSConfig
(opts: IResolveOptions)
src/resolver/resolver.ts:242
↓ 1 callers
Method
getTransformer
(id: string)
src/bundler/presets/Preset.ts:24
↓ 1 callers
Method
getTransformers
(module: Module)
src/bundler/presets/Preset.ts:36
↓ 1 callers
Method
getUnpkgFile
(moduleName: string, moduleVersion: string, path: string)
src/FileSystem/layers/NodeModuleFSLayer.ts:45
↓ 1 callers
Function
getWrapperCode
(sourceCode: string)
src/bundler/transforms/react-refresh/index.ts:195
↓ 1 callers
Method
handleCompile
(compileRequest: ICompileRequest)
src/index.ts:124
↓ 1 callers
Function
handleEvaluate
(command: string)
src/integrations/console.ts:12
↓ 1 callers
Method
handleParentMessage
(message: any)
src/index.ts:66
↓ 1 callers
Function
hookConsole
(output: (log: any) => void)
src/integrations/console.ts:6
↓ 1 callers
Method
init
()
src/index.ts:116
↓ 1 callers
Method
initPreset
(preset: string)
src/bundler/bundler.ts:79
↓ 1 callers
Method
initResizeEvent
()
src/index.ts:88
↓ 1 callers
Function
insertCss
(id: string, css?: string, hmrEnabled?: boolean)
src/bundler/transforms/style/insert-css.ts:25
↓ 1 callers
Function
isAbsolute
(path: string)
src/utils/path.ts:34
↓ 1 callers
Function
isBuildDep
(name: string)
src/bundler/module-registry/build-dep.ts:12
↓ 1 callers
Method
isDirty
()
src/bundler/module/HMR.ts:48
↓ 1 callers
Function
isFile
(filepath: string, isFileFn: FnIsFile)
src/resolver/utils/fs.ts:8
↓ 1 callers
Method
isFileSync
(path: string)
src/FileSystem/layers/NodeModuleFSLayer.ts:97
↓ 1 callers
Method
isFileSync
(path: string)
src/FileSystem/layers/IFrameFSLayer.ts:59
↓ 1 callers
Method
isHot
* Returns whether this module should reset the compilation of its parents
src/bundler/module/HMR.ts:55
↓ 1 callers
Function
isModuleSpecifier
(specifier: string)
src/resolver/utils/module-specifier.ts:10
↓ 1 callers
Function
isRetryableStatus
(status: number)
src/utils/fetch.ts:21
↓ 1 callers
Function
joinLayer
(parentLayer, childLayer)
src/bundler/transforms/css/import-loader/join-layer.ts:2
↓ 1 callers
Function
joinMedia
(parentMedia, childMedia)
src/bundler/transforms/css/import-loader/join-media.ts:2
↓ 1 callers
Function
listenToRuntimeErrors
( bundler: Bundler, crash: (record: ErrorRecord) => void, filename: string = '/bundle.js' )
src/error-listener/index.ts:37
↓ 1 callers
Function
loadImportContent
(result, stmt, filename: string, options: Options, state)
src/bundler/transforms/css/import-loader/index.ts:281
↓ 1 callers
Method
loadModuleDependencies
()
src/bundler/module-registry/index.ts:87
↓ 1 callers
Method
loadNodeModules
()
src/bundler/bundler.ts:163
↓ 1 callers
Function
loadPlugin
(name: string)
src/bundler/transforms/babel/babel-plugin-registry.ts:56
↓ 1 callers
Function
loadPreset
(name: string)
src/bundler/transforms/babel/babel-plugin-registry.ts:48
↓ 1 callers
Function
map
* 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 callers
Method
mapTransformers
(module: Module)
src/bundler/presets/Preset.ts:32
↓ 1 callers
Method
nextMessageId
()
src/utils/WorkerMessageBus.ts:117
↓ 1 callers
Function
normalizeResolverOptions
(opts: IResolveOptionsInput)
src/resolver/resolver.ts:27
↓ 1 callers
Function
nullthrows
(value?: T | null, message?: string)
src/utils/nullthrows.ts:1
↓ 1 callers
Function
parseCharset
(result, atRule)
src/bundler/transforms/css/import-loader/parse-statements.ts:66
↓ 1 callers
Function
parseError
(serializedError: any)
src/utils/WorkerMessageBus.ts:42
↓ 1 callers
Function
parseError
(error: any)
src/errors/CompilationError.ts:9
↓ 1 callers
Function
parseImport
(result, atRule)
src/bundler/transforms/css/import-loader/parse-statements.ts:80
↓ 1 callers
Function
parseMedia
(result, atRule)
src/bundler/transforms/css/import-loader/parse-statements.ts:56
↓ 1 callers
Function
parseStatements
(result, styles)
src/bundler/transforms/css/import-loader/parse-statements.ts:18
↓ 1 callers
Function
permanentRegisterConsole
(type: string, callback: ConsoleProxyCallback)
src/error-listener/proxy-console.ts:40
↓ 1 callers
Method
preloadModules
()
src/bundler/module-registry/index.ts:35
↓ 1 callers
Function
processContent
(result, content: string, filename: string, options: Options, postcss)
src/bundler/transforms/css/import-loader/process-content.ts:20
↓ 1 callers
Method
processPackageJSON
()
src/bundler/bundler.ts:112
↓ 1 callers
Method
readFileSync
(path: string)
src/FileSystem/layers/IFrameFSLayer.ts:34
↓ 1 callers
Function
readFiles
(dir: string, rootPath: string, files: Map<string, string>)
src/resolver/resolver.test.ts:11
↓ 1 callers
Function
registerReactStack
()
src/error-listener/proxy-console.ts:21
↓ 1 callers
Method
registerRuntime
(id: string, code: string)
src/bundler/bundler.ts:86
↓ 1 callers
Function
registerStackTraceLimit
(limit: number = MAX_STACK_LENGTH)
src/error-listener/stack-trace-limit.ts:5
↓ 1 callers
Function
registerUnhandledError
(target: EventTarget, callback: ErrorCallback)
src/error-listener/unhandled-error.ts:20
↓ 1 callers
Function
registerUnhandledRejection
(target: EventTarget, callback: ErrorCallback)
src/error-listener/unhandled-rejection.ts:12
↓ 1 callers
Function
replaceHTML
(html: string)
src/utils/html.ts:43
↓ 1 callers
Method
replaceHTML
()
src/bundler/bundler.ts:457
↓ 1 callers
Method
request
(method: string, ...params: any)
src/utils/WorkerMessageBus.ts:122
↓ 1 callers
Method
resetCache
()
src/FileSystem/FSLayer.ts:8
↓ 1 callers
Method
resetModules
Reset all compilation data
src/bundler/bundler.ts:67
↓ 1 callers
Function
resolveCSSFile
(ctx: ITranspilationContext, path: string, basePath: string)
src/bundler/transforms/css/postcss-loader.ts:8
↓ 1 callers
Method
resolveEntryPoint
()
src/bundler/bundler.ts:124
↓ 1 callers
Function
resolveFile
(filepath: string, dir: string)
src/resolver/resolver.ts:78
↓ 1 callers
Function
resolveImportId
(result, stmt, options: Options, state)
src/bundler/transforms/css/import-loader/index.ts:240
↓ 1 callers
Function
resolveModule
(moduleSpecifier: string, opts: IResolveOptions)
src/resolver/resolver.ts:137
↓ 1 callers
Function
resolveNodeModule
(moduleSpecifier: string, opts: IResolveOptions)
src/resolver/resolver.ts:145
↓ 1 callers
Function
runPostcss
(postcss, content: string, filename: string, plugins: AcceptedPlugin[], parsers, index: number = 0)
src/bundler/transforms/css/import-loader/process-content.ts:5
↓ 1 callers
Function
serializeError
(originalError: any)
src/utils/WorkerMessageBus.ts:29
↓ 1 callers
Method
setAcceptCallback
(callback?: () => void)
src/bundler/module/HMR.ts:24
↓ 1 callers
Method
setDisposeHandler
(callback: () => void)
src/bundler/module/HMR.ts:29
↓ 1 callers
Method
setInvalidated
* 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 callers
Function
sleep
(ms: number)
src/utils/sleep.ts:1
↓ 1 callers
Function
sortObj
(obj: Record<string, T>)
src/utils/object.ts:1
↓ 1 callers
Function
splitPath
(filename: string)
src/utils/path.ts:3
↓ 1 callers
Function
stripInlineStacktrace
(message: string)
src/error-listener/warnings.ts:12
↓ 1 callers
Function
transform
({ code, filepath, config }: ITransformData)
src/bundler/transforms/babel/babel-worker.ts:85
↓ 1 callers
Method
transform
(ctx: ITranspilationContext, config: Config)
src/bundler/transforms/Transformer.ts:22
↓ 1 callers
Method
transform
(ctx: ITranspilationContext, config: any)
src/bundler/transforms/babel/index.ts:33
↓ 1 callers
Function
unmap
* 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 callers
Function
warningMessage
(warning: string, frames: ReactFrame[])
src/error-listener/warnings.ts:19
↓ 1 callers
Function
wrapper
(id: string, css: string, hmrEnabled = false)
src/bundler/transforms/style/insert-css.ts:1
↓ 1 callers
Method
writeFile
(path: string, content: string)
src/FileSystem/layers/IFrameFSLayer.ts:30
↓ 1 callers
Method
writeFile
(path: string, content: string)
src/FileSystem/layers/MemoryFSLayer.ts:10
↓ 1 callers
Method
writeNewFiles
writes any new files and returns a list of updated modules
src/bundler/bundler.ts:274
Function
AtImport
(initialOpts: InitialOptions)
src/bundler/transforms/css/import-loader/index.ts:40
Function
CallExpression
(path: any)
src/bundler/transforms/babel/dep-collector.ts:4
Function
Once
(styles, { result, atRule, postcss })
src/bundler/transforms/css/import-loader/index.ts:53
Method
_messageListener
(evt: any)
src/protocol/iframe.ts:20
Function
absolute
(path: string)
src/utils/path.ts:118
Method
accept
(path: string | string[], cb: () => any)
src/bundler/module/hot.ts:30
Method
augmentDependencies
(dependencies: DepMap)
src/bundler/presets/react/ReactPreset.ts:80
Method
augmentDependencies
(dependencies: DepMap)
src/bundler/presets/solid/SolidPreset.ts:53
Function
basename
(p: string, ext: string = '')
src/utils/path.ts:93
Method
clear
()
src/utils/NamedPromiseQueue.ts:30
← previous
next →
101–200 of 296, ranked by callers