MCPcopy Create free account

hub / github.com/StarkShang/vite-plugin-chrome-extension / functions

Functions208 in github.com/StarkShang/vite-plugin-chrome-extension

↓ 167 callersFunctionbyFileName
(n: string)
__fixtures__/utils.ts:41
↓ 100 callersFunctiongetExtPath
(path: string)
__fixtures__/utils.ts:24
↓ 42 callersFunctionresolve
(value?: T)
src/manifest-input/browser/defer.ts:10
↓ 36 callersFunctionchromeExtension
( options = {} as ChromeExtensionOptions, )
src/index.ts:23
↓ 30 callersFunctioncloneObject
(obj: T)
src/utils/cloneObject.ts:1
↓ 25 callersFunctionrequireExtFile
( currentFilename: string, targetFilename: string, )
__fixtures__/utils.ts:27
↓ 18 callersFunctionsimpleReloader
( { executeScript = true, unregisterServiceWorkers = true, } = {} as SimpleReloaderOpt
src/plugin-reloader-simple/index.ts:39
↓ 15 callersFunctionderiveFiles
( manifest: ChromeExtensionManifest, srcDir: string, )
src/manifest-input/manifest-parser/index.ts:32
↓ 11 callersFunctionloadHtml
(rootPath: string)
src/html-inputs/cheerio.ts:20
↓ 11 callersFunctionmanifestInput
( { browserPolyfill = false, contentScriptWrapper = true, crossBrowser = false,
src/manifest-input/index.ts:57
↓ 8 callersFunctiongetTestName
(filename: string)
__fixtures__/utils.ts:4
↓ 8 callersMethodresolveManifestPath
(options: InputOptions)
src/processors/manifest.ts:176
↓ 6 callersFunctiongetOutputFilenameFromChunk
(sourceFileName: string, chunks: OutputChunk[])
src/utils/helpers.ts:41
↓ 6 callersFunctionreduceToRecord
(srcDir: string | null)
src/manifest-input/reduceToRecord.ts:5
↓ 6 callersMethodresolveInput
(input?: InputOption)
src/processors/html.ts:26
↓ 5 callersFunctiongetCrxName
(filepath: string)
__fixtures__/utils.ts:18
↓ 5 callersFunctiongetRelativePath
({ filePath, rootPath, }: HtmlFilePathData)
src/html-inputs/cheerio.ts:29
↓ 5 callersFunctionhtmlInputs
( htmlInputsOptions: HtmlInputsOptions, /** Used for testing */ cache = { scripts: [],
src/html-inputs/index.ts:30
↓ 5 callersFunctionvalidate
(ary: any[])
src/manifest-input/manifest-parser/index.ts:145
↓ 4 callersMethodapplyExternalManifestConfiguration
( config: ChromeExtensionConfigurationInfo )
src/processors/manifest.ts:234
↓ 4 callersFunctioncombinePerms
( ...permissions: string[] | string[][] )
src/manifest-input/manifest-parser/combine.ts:3
↓ 4 callersFunctiondefer
()
src/manifest-input/browser/defer.ts:1
↓ 4 callersFunctiongetScriptElems
($: cheerio.Root)
src/html-inputs/cheerio.ts:47
↓ 4 callersFunctionisChunk
( x: OutputChunk | OutputAsset, )
src/utils/helpers.ts:9
↓ 4 callersFunctionremoveFileExtension
(filePath: string)
src/common/utils/path.ts:1
↓ 3 callersFunctionemit
( name: string, source: string, isFileName?: boolean,
src/plugin-reloader-simple/index.ts:82
↓ 3 callersMethodload
* Load content from manifest.json * @param options: rollup input options
src/processors/manifest.ts:64
↓ 3 callersFunctionmixinChunksForIIFE
( context: PluginContext, entry: OutputChunk, bundle: OutputBundle )
src/processors/mixin/index.ts:12
↓ 3 callersFunctionreject
(error: any)
src/manifest-input/browser/defer.ts:13
↓ 3 callersMethodvalidateManifestContent
(config: ChromeExtensionConfigurationInfo)
src/processors/manifest.ts:211
↓ 3 callersFunctionwithP
(...args: [any, any?])
src/plugin-reloader-simple/client/background.ts:40
↓ 2 callersMethodaddWatchFiles
(context: PluginContext)
src/processors/html.ts:73
↓ 2 callersFunctionbuildCRX
( crxPath = "kitchen-sink/rollup.config.js", )
__fixtures__/build-crx.ts:16
↓ 2 callersFunctioncallListeners
(...args: any[])
src/manifest-input/browser/captureEvents.ts:37
↓ 2 callersFunctioncaptureEvents
(events: ChromeEvent[])
src/manifest-input/browser/captureEvents.ts:3
↓ 2 callersMethodclearCacheById
(id: string)
src/processors/html.ts:123
↓ 2 callersFunctiondedupe
(x: T[])
src/manifest-input/generateBundle.ts:13
↓ 2 callersFunctiondelay
(ms: number)
src/manifest-input/browser/delay.ts:1
↓ 2 callersMethodemitFiles
* Output asset files in html * css, img, script(not local import)
src/processors/html.ts:104
↓ 2 callersFunctionfindChunk
(sourceFileName: string, chunks: OutputChunkBundle)
src/utils/helpers.ts:51
↓ 2 callersFunctionfindChunkByName
(name: string, bundle: OutputBundle)
src/utils/helpers.ts:45
↓ 2 callersFunctionformatHtml
($: CheerioFile)
src/html-inputs/cheerio.ts:17
↓ 2 callersMethodgenerateBundle
(context: PluginContext, bundle: OutputBundle)
src/processors/html.ts:84
↓ 2 callersFunctiongetAssets
(bundle: OutputBundle)
src/utils/bundle.ts:14
↓ 2 callersFunctiongetChunk
(bundle: OutputBundle)
src/utils/bundle.ts:5
↓ 2 callersFunctiongetScripts
($: cheerio.Root)
src/html-inputs/cheerio.ts:93
↓ 2 callersFunctionisAsset
( x: OutputChunk | OutputAsset, )
src/utils/helpers.ts:24
↓ 2 callersFunctionlog
(...args: string[])
examples/background/src/common/logs.ts:1
↓ 2 callersFunctionreplaceCssUrl
(code: string)
src/common/utils/css.ts:7
↓ 2 callersFunctionsetMessage
(str: string)
examples/cookie-clearer/src/popup.ts:94
↓ 2 callersFunctionshowReadme
(info, tab)
examples/web-accessible-resources/src/background.ts:11
↓ 2 callersFunctiontriggerEvents
()
src/manifest-input/browser/captureEvents.ts:63
↓ 2 callersFunctionvalidateManifest
( manifest: ChromeExtensionManifest, )
src/manifest-input/manifest-parser/validate.ts:40
↓ 2 callersFunctionvalidateNames
()
src/validate-names/index.ts:12
↓ 2 callersFunctionwithP
(...args: [any, any?])
src/browser-polyfill/browser/executeScriptPolyfill.ts:5
↓ 1 callersFunctionclearMessage
()
examples/cookie-clearer/src/popup.ts:99
↓ 1 callersFunctiondeleteDomainCookies
(domain: string)
examples/cookie-clearer/src/popup.ts:50
↓ 1 callersMethodderivePermissions
( context: PluginContext, chunks: OutputChunkBundle, manifest: ChromeExtensionManifest
src/processors/permission.ts:32
↓ 1 callersFunctionfindAssetByName
(name: string, bundle: OutputBundle)
src/utils/helpers.ts:48
↓ 1 callersFunctionflattenRollupInput
(input?: InputOption)
src/common/utils/rollup.ts:3
↓ 1 callersMethodgenerateBundleFromDynamicImports
( context: PluginContext, bundle: OutputBundle, dynamicImports: string[], )
src/processors/content-script/content-script.ts:58
↓ 1 callersFunctiongenerateHtml
( context: PluginContext, htmls: CheerioFile[], chunks: OutputChunk[], options: HtmlInputsOpti
src/html-inputs/generateBundle.ts:7
↓ 1 callersFunctiongenerateManifest
( context: PluginContext, manifest: ChromeExtensionManifest, )
src/manifest-input/generateBundle.ts:139
↓ 1 callersMethodgenerateManifest
( context: PluginContext, manifest: ChromeExtensionManifest, )
src/processors/manifest.ts:258
↓ 1 callersFunctiongetAssets
($: cheerio.Root)
src/html-inputs/cheerio.ts:104
↓ 1 callersFunctiongetCss
($: cheerio.Root)
src/html-inputs/cheerio.ts:121
↓ 1 callersFunctiongetCssHrefs
($: CheerioFile)
src/html-inputs/cheerio.ts:130
↓ 1 callersFunctiongetDeepMatches
(object: any, pred: (x: any) => boolean, excludeKeys: string[])
src/manifest-input/browser/getDeepMatches.ts:11
↓ 1 callersFunctiongetFavicons
($: cheerio.Root)
src/html-inputs/cheerio.ts:145
↓ 1 callersFunctiongetImgSrcs
($: CheerioFile)
src/html-inputs/cheerio.ts:152
↓ 1 callersFunctiongetImgs
($: cheerio.Root)
src/html-inputs/cheerio.ts:138
↓ 1 callersFunctiongetJsAssets
($: CheerioFile)
src/html-inputs/cheerio.ts:113
↓ 1 callersFunctiongetScriptSrc
($: CheerioFile)
src/html-inputs/cheerio.ts:96
↓ 1 callersFunctioninnerBuildCRX
( crxPath: string, )
__fixtures__/build-crx.ts:33
↓ 1 callersMethodisDynamicImportedContentScript
(referenceId: string)
src/processors/manifest.ts:111
↓ 1 callersFunctionisJsonFilePath
(x: any)
src/utils/helpers.ts:34
↓ 1 callersFunctionisString
(x: any)
src/utils/helpers.ts:30
↓ 1 callersFunctionmixinPlugin
( bundle: OutputBundle, )
src/processors/mixin/mixin.plugin.ts:4
↓ 1 callersFunctionmutateScriptElems
({ browserPolyfill, }: Pick<HtmlInputsOptions, "browserPolyfill">)
src/html-inputs/cheerio.ts:56
↓ 1 callersFunctionnot
(fn: (x: T) => boolean)
src/utils/helpers.ts:7
↓ 1 callersFunctionprepImportWrapperScript
({ eventDelay = 0, wakeEvents = [], excludeNames = ["extension"], }: DynamicImportWrapperOptions)
src/manifest-input/dynamicImportWrapper.ts:21
↓ 1 callersFunctionreload
()
src/plugin-reloader-simple/client/content.ts:11
↓ 1 callersFunctionreplaceContentScriptsPath
( manifest: ChromeExtensionManifest, replace: (path: string) => string, )
src/manifest-input/utils/manifest.ts:14
↓ 1 callersFunctionreplaceImportScriptPath
( $: CheerioFile, chunks: OutputChunk[], srcDir: string, browserPolyfill?: boolean | { execute
src/html-inputs/generateBundle.ts:26
↓ 1 callersMethodreplaceImportScriptPath
( $: CheerioFile, chunks: OutputChunk[], srcDir: string, browserPolyfill?: boo
src/processors/html.ts:130
↓ 1 callersMethodresolveDynamicImports
(context: TransformPluginContext, code: string)
src/processors/background/background.ts:22
↓ 1 callersFunctionresolveFromBundle
( bundle: OutputBundle, )
src/mixed-format/resolveFromBundle.ts:6
↓ 1 callersFunctionresolvePath
(object: Record<string, any>, path: string, defaultValue?: T)
src/manifest-input/browser/resolvePath.ts:1
↓ 1 callersFunctionstringToUrl
(input: string)
examples/cookie-clearer/src/popup.ts:37
↓ 1 callersMethodtransform
(context: TransformPluginContext, code: string, id: string, ssr?: boolean)
src/processors/manifest.ts:105
↓ 1 callersFunctionunregisterServiceWorkers
()
src/plugin-reloader-simple/client/background.ts:101
↓ 1 callersFunctionupdateCss
(asset: OutputAsset)
src/common/utils/css.ts:23
↓ 1 callersFunctionupdateManifest
( updater: ( manifest: ChromeExtensionManifest, ) => ChromeExtensionManifest, bundle: Outp
src/utils/helpers.ts:58
↓ 1 callersMethodvalidateManifest
()
src/processors/manifest.ts:226
↓ 1 callersFunctionwebRequest
(s: string)
src/manifest-input/manifest-parser/permissions.ts:109
FunctionApp
()
__fixtures__/extensions/content-script-react-js/src/pages/popup/App.js:3
FunctionApp
()
__fixtures__/extensions/content-script-react-tsx/src/pages/popup/App.tsx:3
FunctionApp
()
__fixtures__/extensions/basic-js/src/pages/popup/App.js:3
FunctionApp
()
__fixtures__/extensions/basic-ts/src/pages/popup/App.tsx:3
MethodaddWatchFiles
* Add watch files * @param context Rollup Plugin Context
src/processors/manifest.ts:119
next →1–100 of 208, ranked by callers