MCPcopy Index your code
hub / github.com/ampproject/amphtml / buildExperiments

Function buildExperiments

build-system/tasks/dist.js:172–184  ·  view source on GitHub ↗

* Build AMP experiments.js. * @return {Promise }

()

Source from the content-addressed store, hash-verified

170 * @return {Promise<void>}
171 */
172async 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.

Callers 1

distFunction · 0.85

Calls 2

compileJsFunction · 0.85
maybeToEsmNameFunction · 0.85

Tested by

no test coverage detected