Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/unjs/unplugin
/ functions
Functions
200 in github.com/unjs/unplugin
⨍
Functions
200
◇
Types & classes
25
↓ 34 callers
Function
createUnplugin
( factory: UnpluginFactory<UserOptions, Nested>, )
src/define.ts:13
↓ 21 callers
Function
normalizeObjectHook
( name: 'resolveId' | 'load' | 'transform', hook: Hook<T, F>, )
src/utils/filter.ts:153
↓ 19 callers
Function
toArray
(array?: Nullable<Arrayable<T>>)
src/utils/general.ts:3
↓ 17 callers
Function
createBuildContext
(build: PluginBuilder)
src/bun/utils.ts:40
↓ 14 callers
Function
createIdHook
()
test/unit-tests/filter/filter.test.ts:22
↓ 12 callers
Function
createFarmContext
( context: CompilationContext, currentResolveId?: string, )
src/farm/context.ts:7
↓ 11 callers
Function
toFarmPlugin
(plugin: UnpluginOptions, options?: Record<string, any> | undefined)
src/farm/index.ts:63
↓ 9 callers
Function
createBuildContext
(compiler: Compiler, compilation: Compilation, loaderContext?: LoaderContext, inputSourceMap?: any)
src/rspack/context.ts:7
↓ 9 callers
Function
createPluginContext
( buildContext: UnpluginBuildContext, )
src/bun/utils.ts:68
↓ 8 callers
Function
r
(...args: string[])
test/fixtures/transform/__test__/build.test.ts:6
↓ 8 callers
Function
r
(...args: string[])
test/fixtures/load/__test__/build.test.ts:6
↓ 8 callers
Function
r
(...args: string[])
test/fixtures/virtual-module/__test__/build.test.ts:6
↓ 7 callers
Function
check
(resolveIdHandler: Mock, loadHandler: Mock, transformHandler: Mock)
test/unit-tests/filter/filter.test.ts:49
↓ 7 callers
Function
createTransformHook
()
test/unit-tests/filter/filter.test.ts:35
↓ 7 callers
Function
createUnpluginWithHooks
( resolveId: UnpluginOptions['resolveId'], load: UnpluginOptions['load'], transform: UnpluginOptions['tr
test/unit-tests/filter/filter.test.ts:9
↓ 7 callers
Function
normalizeAbsolutePath
(path: string)
src/utils/webpack-like.ts:46
↓ 7 callers
Function
unpluginContext
(context: CompilationContext)
src/farm/context.ts:37
↓ 6 callers
Function
checkHookCalls
( name: 'webpack' | 'rollup' | 'vite' | 'rspack' | 'esbuild' | 'bun', resolveIdCallback: Mock, transform
test/unit-tests/id-consistency/id-consistency.test.ts:33
↓ 6 callers
Function
checkHookCalls
()
test/unit-tests/resolve-id-external/resolve-id-external.test.ts:33
↓ 6 callers
Function
checkLoadHook
(loadCallback: Mock)
test/unit-tests/virtual-id/virtual-id.test.ts:53
↓ 6 callers
Function
checkResolveIdHook
(resolveIdCallback: Mock)
test/unit-tests/virtual-id/virtual-id.test.ts:39
↓ 6 callers
Function
checkResolveIdHook
(resolveIdCallback: Mock)
test/unit-tests/resolve-id/resolve-id.test.ts:30
↓ 6 callers
Function
checkWriteBundleHook
(writeBundleCallback: Mock)
test/unit-tests/write-bundle/write-bundle.test.ts:34
↓ 6 callers
Function
createLoadHook
()
test/unit-tests/virtual-id/virtual-id.test.ts:30
↓ 6 callers
Function
createMockedUnplugin
()
test/unit-tests/resolve-id-external/resolve-id-external.test.ts:25
↓ 6 callers
Function
createResolveIdHook
()
test/unit-tests/virtual-id/virtual-id.test.ts:18
↓ 6 callers
Function
createResolveIdHook
()
test/unit-tests/resolve-id/resolve-id.test.ts:20
↓ 6 callers
Function
createUnpluginWithCallback
( resolveIdCallback: UnpluginOptions['resolveId'], transformIncludeCallback: UnpluginOptions['transformInc
test/unit-tests/id-consistency/id-consistency.test.ts:12
↓ 6 callers
Function
createUnpluginWithCallback
(writeBundleCallback: UnpluginOptions['writeBundle'])
test/unit-tests/write-bundle/write-bundle.test.ts:11
↓ 6 callers
Function
createUnpluginWithCallback
(resolveIdCallback: UnpluginOptions['resolveId'])
test/unit-tests/resolve-id/resolve-id.test.ts:9
↓ 6 callers
Function
createUnpluginWithCallbacks
(resolveIdCallback: UnpluginOptions['resolveId'], loadCallback: UnpluginOptions['load'])
test/unit-tests/virtual-id/virtual-id.test.ts:10
↓ 6 callers
Function
generateMockWriteBundleHook
(outputPath: string)
test/unit-tests/write-bundle/write-bundle.test.ts:18
↓ 6 callers
Function
getRolldownPlugin
( factory: UnpluginFactory<UserOptions, Nested>, )
src/rolldown/index.ts:6
↓ 6 callers
Function
getUnloaderPlugin
( factory: UnpluginFactory<UserOptions, Nested>, )
src/unloader/index.ts:6
↓ 5 callers
Method
apply
(compiler: Compiler)
src/rspack/utils.ts:34
↓ 5 callers
Function
createBuildContext
(options: ContextOptions, compiler: Compiler, compilation?: Compilation, loaderContext?: LoaderContext<{ unplu
src/webpack/context.ts:33
↓ 5 callers
Function
decodeStr
(str: string)
src/farm/utils.ts:117
↓ 5 callers
Function
encodeStr
(str: string)
src/farm/utils.ts:87
↓ 5 callers
Function
getContentValue
(content: any)
src/farm/utils.ts:147
↓ 5 callers
Function
isObject
(variable: unknown)
src/farm/utils.ts:68
↓ 5 callers
Function
normalize
(path: string)
src/utils/filter.ts:7
↓ 5 callers
Function
normalizeMessage
(error: string | UnpluginMessage)
src/rspack/context.ts:52
↓ 4 callers
Function
appendQuery
(id: string, query: [string, string][])
src/farm/utils.ts:193
↓ 4 callers
Function
combineSourcemaps
( filename: string, sourcemapList: Array<DecodedSourceMap | EncodedSourceMap>, )
src/esbuild/utils.ts:73
↓ 4 callers
Function
contextOptionsFromCompilation
(compilation: Compilation)
src/webpack/context.ts:14
↓ 4 callers
Function
convertEnforceToPriority
(value: 'pre' | 'post' | undefined)
src/farm/utils.ts:40
↓ 4 callers
Function
convertWatchEventChange
( value: WatchChangeEvents, )
src/farm/utils.ts:52
↓ 4 callers
Function
createContext
(loader: LoaderContext)
src/rspack/context.ts:45
↓ 4 callers
Function
createMockBuild
()
test/unit-tests/bun/namespace.test.ts:10
↓ 4 callers
Function
customParseQueryString
(url: string | null)
src/farm/utils.ts:72
↓ 4 callers
Function
formatLoadModuleType
(id: string)
src/farm/utils.ts:256
↓ 4 callers
Function
formatTransformModuleType
(id: string)
src/farm/utils.ts:272
↓ 4 callers
Function
getFarmPlugin
(factory: UnpluginFactory<UserOptions, Nested>)
src/farm/index.ts:40
↓ 4 callers
Function
isAbsolute
(path: string)
src/utils/filter.ts:12
↓ 4 callers
Function
processCodeWithSourceMap
(map: SourceMap | null | undefined, code: string)
src/esbuild/utils.ts:189
↓ 4 callers
Function
removeQuery
(pathe: string)
src/farm/utils.ts:181
↓ 4 callers
Function
replaceHookHandler
( name: K, hook: Hook<HookFnMap[K], any> | undefined, handler: HookFnMap[K], )
src/rollup/index.ts:117
↓ 4 callers
Function
toRollupPlugin
( plugin: UnpluginOptions, key: 'rollup' | 'rolldown' | 'vite' | 'unloader', meta: UnpluginContextMeta,
src/rollup/index.ts:20
↓ 3 callers
Function
bun
()
src/define.ts:44
↓ 3 callers
Function
createPluginContext
(context: UnpluginBuildContext)
src/esbuild/utils.ts:140
↓ 3 callers
Function
esbuild
()
src/define.ts:17
↓ 3 callers
Function
farm
()
src/define.ts:38
↓ 3 callers
Function
getCssModuleType
(id: string)
src/farm/utils.ts:236
↓ 3 callers
Function
getJsModuleType
(id: string)
src/farm/utils.ts:246
↓ 3 callers
Function
guessIdLoader
(id: string)
src/farm/utils.ts:27
↓ 3 callers
Function
isStartsWithSlash
(str: string)
src/farm/utils.ts:189
↓ 3 callers
Function
isString
(variable: unknown)
src/farm/utils.ts:64
↓ 3 callers
Function
isVirtualModuleId
(encoded: string, plugin: ResolvedUnpluginOptions)
src/rspack/utils.ts:14
↓ 3 callers
Function
normalizeMessage
(error: string | UnpluginMessage)
src/webpack/context.ts:66
↓ 3 callers
Function
rollup
()
src/define.ts:20
↓ 3 callers
Function
rsbuild
()
src/define.ts:35
↓ 3 callers
Function
rspack
()
test/unit-tests/framework-version/index.test.ts:249
↓ 3 callers
Function
stringifyQuery
(query: [string, string][])
src/farm/utils.ts:201
↓ 3 callers
Function
supportNativeFilter
(context: any, framework: 'rollup' | 'rolldown' | 'vite' | 'unloader')
src/rollup/index.ts:131
↓ 3 callers
Function
toBunNamespace
(name: string)
src/bun/index.ts:11
↓ 3 callers
Function
unwrapLoader
( loader: Loader | ((code: string, id: string) => Loader), code: string, id: string, )
src/bun/utils.ts:29
↓ 3 callers
Function
vite
(config)
test/unit-tests/utils.ts:46
↓ 3 callers
Function
webpack
()
src/define.ts:29
↓ 2 callers
Function
applyRspackPlugins
( compiler: Compiler, rawPlugins: UnpluginOptions[], meta: UnpluginContextMeta, )
src/rspack/index.ts:66
↓ 2 callers
Function
checkFilter
(options: Loader['options'])
src/esbuild/index.ts:87
↓ 2 callers
Function
createContext
(loader: LoaderContext<{ unpluginName: string }>)
src/webpack/context.ts:59
↓ 2 callers
Function
createFilter
( exclude: PluginFilter[] | undefined, include: PluginFilter[] | undefined, )
src/utils/filter.ts:62
↓ 2 callers
Function
createIdFilter
(filter: StringFilter | undefined)
src/utils/filter.ts:98
↓ 2 callers
Function
decodeVirtualModuleId
(encoded: string, _plugin: ResolvedUnpluginOptions)
src/rspack/utils.ts:10
↓ 2 callers
Function
fixSourceMap
(map: EncodedSourceMap)
src/esbuild/utils.ts:46
↓ 2 callers
Function
getBunPlugin
( factory: UnpluginFactory<UserOptions>, )
src/bun/index.ts:15
↓ 2 callers
Function
getEsbuildPlugin
( factory: UnpluginFactory<UserOptions>, )
src/esbuild/index.ts:52
↓ 2 callers
Function
getRollupPlugin
( factory: UnpluginFactory<UserOptions, Nested>, )
src/rollup/index.ts:6
↓ 2 callers
Function
getRsbuildPlugin
( factory: UnpluginFactory<UserOptions>, )
src/rsbuild/index.ts:15
↓ 2 callers
Function
getRspackPlugin
( factory: UnpluginFactory<UserOptions>, )
src/rspack/index.ts:35
↓ 2 callers
Function
getRspackVersion
(compiler: Compiler)
src/rspack/index.ts:31
↓ 2 callers
Function
getVitePlugin
( factory: UnpluginFactory<UserOptions, Nested>, )
src/vite/index.ts:6
↓ 2 callers
Function
getWebpackPlugin
( factory: UnpluginFactory<UserOptions>, )
src/webpack/index.ts:24
↓ 2 callers
Function
guessLoader
(id: string)
src/bun/utils.ts:25
↓ 2 callers
Function
normalizeFilter
(filter: StringFilter)
src/utils/filter.ts:81
↓ 2 callers
Function
normalizeMessage
(message: string | UnpluginMessage)
src/esbuild/utils.ts:167
↓ 2 callers
Function
processLoadTransform
( id: string, namespace: string, loader?: Loader, )
src/bun/index.ts:137
↓ 2 callers
Function
transformUse
( data: { resource?: string, resourceQuery?: string }, plugin: ResolvedUnpluginOptions, transformLoader:
src/utils/webpack-like.ts:6
↓ 2 callers
Function
unwrapLoader
( loader: Loader | ((code: string, id: string) => Loader), code: string, id: string, )
src/esbuild/utils.ts:33
↓ 2 callers
Method
writeModule
(file: string)
src/rspack/utils.ts:54
next →
1–100 of 200, ranked by callers