MCPcopy
hub / github.com/esm-dev/esm.sh / getBuildArgsPrefix

Method getBuildArgsPrefix

server/build_resolver.go:1127–1132  ·  view source on GitHub ↗
(isDts bool)

Source from the content-addressed store, hash-verified

1125}
1126
1127func (ctx *BuildContext) getBuildArgsPrefix(isDts bool) string {
1128 if a := encodeBuildArgs(ctx.args, isDts); a != "" {
1129 return "X-" + a + "/"
1130 }
1131 return ""
1132}
1133
1134func (ctx *BuildContext) getNodeEnv() string {
1135 if ctx.dev {

Callers 6

buildPathMethod · 0.95
buildModuleMethod · 0.95
resolveExternalModuleMethod · 0.95
resolveDTSMethod · 0.95
transformDTSMethod · 0.95
transformDTSFunction · 0.80

Calls 1

encodeBuildArgsFunction · 0.85

Tested by

no test coverage detected