MCPcopy Create free account
hub / github.com/ampproject/amphtml / prependConfig

Function prependConfig

build-system/pr-check/nomodule-tests.js:22–29  ·  view source on GitHub ↗

* Adds a canary or prod config string to all non-esm minified targets.

()

Source from the content-addressed store, hash-verified

20 * Adds a canary or prod config string to all non-esm minified targets.
21 */
22function prependConfig() {
23 const targets = MINIFIED_TARGETS.flatMap((target) => [
24 `dist/${target}.js`,
25 ]).join(',');
26 timedExecOrDie(
27 `amp prepend-global --${argv.config} --local_dev --fortesting --derandomize --target=${targets}`
28 );
29}
30
31/**
32 * Steps to run during push builds.

Callers 2

pushBuildWorkflowFunction · 0.70
prBuildWorkflowFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected