MCPcopy Index your code

hub / github.com/developit/microbundle / functions

Functions106 in github.com/developit/microbundle

↓ 4 callersFunctionreplaceName
(filename, name)
src/index.js:262
↓ 3 callersFunctionisDir
(name)
src/utils.js:8
↓ 2 callersFunctionbuildDirectory
tools/build-fixture.js:43
↓ 2 callersFunctioncmd
src/prog.js:11
↓ 2 callersFunctioncreateConfigItems
(babel, type, items)
src/lib/babel-custom.js:41
↓ 2 callersFunctionformatSize
(size, filename, type, raw)
src/lib/compressed-size.js:11
↓ 2 callersFunctiongetBuildScript
(fixturePath, defaultScript)
tools/build-fixture.js:31
↓ 2 callersFunctionisFile
(name)
src/utils.js:14
↓ 2 callersFunctionisTruthy
src/utils.js:24
↓ 2 callersFunctionjsOrTs
(cwd, filename)
src/index.js:194
↓ 2 callersFunctionlogError
(err)
src/log-error.js:4
↓ 2 callersFunctionmicrobundle
(inputOptions)
src/index.js:50
↓ 2 callersFunctionparseMappingArgument
(globalStrings, processValue)
src/lib/option-normalization.js:29
↓ 2 callersFunctionprocessCssmodulesArgument
* This is done because if you use the cli default property, you get a primiatve "null" or "false", * but when using the cli arguments, you always get
src/lib/css-modules.js:40
↓ 2 callersFunctionremoveScope
src/utils.js:33
↓ 2 callersFunctionshouldCssModules
(options)
src/lib/css-modules.js:1
↓ 2 callersFunctionsleep
test/index.test.js:11
↓ 2 callersFunctiontest
(param = throw new Error('required!'))
test/fixtures/basic-babelrc/src/index.js:1
↓ 2 callersFunctiontwo
(...args)
test/fixtures/no-pkg/src/two.js:1
↓ 2 callersFunctiontwo
(...args)
test/fixtures/custom-source-with-cwd/custom-source/src/two.js:1
↓ 2 callersFunctiontwo
(...args)
test/fixtures/no-pkg-name/src/two.js:1
↓ 2 callersFunctiontwo
(...args)
test/fixtures/basic-no-pkg-main/src/two.js:1
↓ 2 callersFunctiontwo
(...args)
test/fixtures/custom-outputs-alt/src/two.js:1
↓ 2 callersFunctiontwo
(...args)
test/fixtures/custom-outputs/src/two.js:1
↓ 2 callersFunctiontwo
(...args)
test/fixtures/basic-with-cwd/basic/src/two.js:1
↓ 2 callersFunctiontwo
(...args)
test/fixtures/basic-no-compress/src/two.js:1
↓ 2 callersFunctiontwo
(...args)
test/fixtures/basic-dashed-external/src/two.js:1
↓ 2 callersFunctiontwo
(...args)
test/fixtures/basic/src/two.js:1
↓ 2 callersFunctiontwo
(...args)
test/fixtures/basic-compress-false/src/two.js:1
↓ 2 callersFunctiontwo
(...args)
test/fixtures/inline-source-map/src/two.js:1
↓ 2 callersFunctiontwo
(...args)
test/fixtures/custom-source/src/two.js:1
↓ 2 callersFunctiontwo
(...args)
test/fixtures/name-custom-cli/src/two.js:1
↓ 2 callersFunctiontwo
(...args)
test/fixtures/modern/src/two.js:1
↓ 2 callersFunctiontwo
(...args)
test/fixtures/name-custom-amd/src/two.js:1
↓ 1 callersFunctionbar
()
test/fixtures/worker-loader/src/bar.js:1
↓ 1 callersFunctioncreateConfig
(options, entry, format, writeMeta)
src/index.js:326
↓ 1 callersFunctioncssModulesConfig
(options)
src/lib/css-modules.js:13
↓ 1 callersFunctiondoWatch
(options, cwd, steps)
src/index.js:147
↓ 1 callersFunctioneach
tools/generate-filesize.js:10
↓ 1 callersFunctionfoo
()
test/fixtures/esnext-ts/src/index.ts:1
↓ 1 callersFunctionfoo
()
test/fixtures/ts-module/src/foo.ts:1
↓ 1 callersFunctiongetConfigFromPkgJson
(cwd)
src/lib/package-info.js:6
↓ 1 callersFunctiongetDeclarationDir
({ options, pkg })
src/index.js:234
↓ 1 callersFunctiongetEntries
({ input, cwd })
src/index.js:249
↓ 1 callersFunctiongetInput
({ entries, cwd, source, module })
src/index.js:204
↓ 1 callersFunctiongetMain
({ options, entry, format })
src/index.js:277
↓ 1 callersFunctiongetName
({ name, pkgName, amdName, cwd, hasPackageJson })
src/lib/package-info.js:29
↓ 1 callersFunctiongetOutput
({ cwd, output, pkgMain, pkgName })
src/index.js:226
↓ 1 callersFunctiongetPadLeft
(str, width, char = ' ')
src/lib/compressed-size.js:7
↓ 1 callersFunctiongetSizeInfo
(code, filename, raw)
src/lib/compressed-size.js:18
↓ 1 callersFunctionidMaker
()
test/fixtures/modern-generators/src/two.js:1
↓ 1 callersFunctionjoin
(arr, delimiter = '')
test/index.test.js:13
↓ 1 callersFunctionloadNameCache
()
src/index.js:411
↓ 1 callersFunctionmergeConfigItems
(babel, type, ...configItemsToMerge)
src/lib/babel-custom.js:10
↓ 1 callersFunctionmixFruits
(fruit1: Fruit, fruit2: Fruit)
test/fixtures/basic-flow/src/fruits.js:4
↓ 1 callersFunctionnormalizeMinifyOptions
(minifyOptions)
src/lib/terser.js:2
↓ 1 callersFunctionparseAliasArgument
(aliasStrings)
src/lib/option-normalization.js:51
↓ 1 callersFunctionprintTree
(nodes, indentLevel = 0)
test/index.test.js:15
↓ 1 callersFunctionsafeVariableName
(name)
src/utils.js:41
↓ 1 callersFunctionsameArgumentsObject
(node, func, t)
src/lib/transform-fast-rest.js:96
↓ 1 callersFunctionshouldBeInlined
(a, b)
test/fixtures/terser-annotations/src/index.js:1
↓ 1 callersFunctionshouldBePreserved
(a, b)
test/fixtures/terser-annotations/src/index.js:5
↓ 1 callersFunctionstrip
test/lib/util.js:3
↓ 1 callersFunctiontoArray
src/prog.js:4
↓ 1 callersFunctionwalk
(exports, includeDefault)
src/index.js:269
FunctionFragment
({ children })
test/fixtures/jsx/index.js:3
FunctionFragment
({ children })
test/fixtures/ts-jsx/src/index.tsx:3
FunctionProgram
(path, state)
src/lib/transform-fast-rest.js:69
FunctionRestElement
(path, state)
src/lib/transform-fast-rest.js:18
Functionbanner
()
src/index.js:686
Functionbar
()
test/fixtures/default-named/src/index.js:2
Functionchain
(test: { maybeVar?: { thing: string }; })
test/fixtures/optional-chaining-ts/src/index.ts:1
Functionconfig
(config, { customOptions })
src/lib/babel-custom.js:67
Methodconstructor
(message: string)
test/fixtures/class-decorators-ts/src/index.ts:9
FunctioncreateElement
(tag, props, ...children)
test/fixtures/ts-jsx/src/index.tsx:1
Methoddrive
(distance: number)
test/fixtures/ts-mixed-exports/src/car.ts:2
Methoddrive
(distance: number)
test/fixtures/ts-mixed-exports/src/car.ts:6
Methoddrive
(distance: number)
test/fixtures/basic-ts/src/car.ts:2
Methoddrive
(distance: number)
test/fixtures/basic-ts/src/car.ts:6
FunctionescapeStringExternals
src/index.js:401
FunctionfastRestTransform
({ template, types: t })
src/lib/transform-fast-rest.js:14
Functionfoo
()
test/fixtures/ts-custom-declaration/src/index.ts:1
Functionfoo
()
test/fixtures/shebang/src/index.js:3
Functionfoo
()
test/fixtures/pure/src/index.js:4
Functionfoo
()
test/fixtures/ts-declaration/src/index.tsx:1
Functionfoo
()
test/fixtures/publish-config/src/foo.ts:1
Methodfoo
()
test/fixtures/custom-babelrc/src/index.js:3
Methodfoo
()
test/fixtures/async-ts/src/index.ts:2
Functionfoobar
()
test/fixtures/ts-module/src/index.ts:3
Methodgreet
()
test/fixtures/class-decorators-ts/src/index.ts:12
Functionh
(tag, props, ...children)
test/fixtures/jsx/index.js:1
Functionh
(tag, props, ...children)
test/fixtures/basic-tsx/src/index.tsx:1
Functionmain
(a, b)
test/fixtures/terser-annotations/src/index.js:9
FunctionmyMacro
({ references, state, babel })
test/fixtures/macro/src/macro.js:3
Functiononwarn
(warning, warn)
src/index.js:466
Functionoptions
({ custom: customOptions, ...pluginOptions })
src/lib/babel-custom.js:57
FunctionparametersRestWithClosure
(fn, ...args)
test/fixtures/parameters-rest-closure/src/index.js:1
FunctionparametersRestWithInnerArrowFunction
(fn, ...args)
test/fixtures/parameters-rest-closure/src/index.js:7
Methodrender
()
test/fixtures/jsx/index.js:6
Methodrender
()
test/fixtures/basic-tsx/src/index.tsx:4
next →1–100 of 106, ranked by callers