* Adds a canary or prod config string to all non-esm minified targets.
()
| 20 | * Adds a canary or prod config string to all non-esm minified targets. |
| 21 | */ |
| 22 | function 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. |
no outgoing calls
no test coverage detected