* Adds a canary or prod config string to all esm and non-esm minified targets.
()
| 16 | * Adds a canary or prod config string to all esm and non-esm minified targets. |
| 17 | */ |
| 18 | function prependConfig() { |
| 19 | const targets = MINIFIED_TARGETS.flatMap((target) => [ |
| 20 | `dist/${target}.js`, |
| 21 | `dist/${target}.mjs`, |
| 22 | ]).join(','); |
| 23 | timedExecOrDie( |
| 24 | `amp prepend-global --${argv.config} --local_dev --fortesting --derandomize --target=${targets}` |
| 25 | ); |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * Steps to run during push builds. |
no outgoing calls
no test coverage detected