* Build AMP experiments.js. * @return {Promise }
()
| 170 | * @return {Promise<void>} |
| 171 | */ |
| 172 | async function buildExperiments() { |
| 173 | await compileJs( |
| 174 | './build/experiments/', |
| 175 | 'experiments.max.js', |
| 176 | './dist.tools/experiments/', |
| 177 | { |
| 178 | watch: argv.watch, |
| 179 | minify: true, |
| 180 | includePolyfills: true, |
| 181 | minifiedName: maybeToEsmName('experiments.js'), |
| 182 | } |
| 183 | ); |
| 184 | } |
| 185 | |
| 186 | /** |
| 187 | * Build amp-login-done-${version}.js file. |
no test coverage detected