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

Function compileCoreRuntime

build-system/tasks/helpers.js:133–135  ·  view source on GitHub ↗

* Compile and optionally minify the core runtime. * * @param {!Object} options * @return {Promise }

(options)

Source from the content-addressed store, hash-verified

131 * @return {Promise<void>}
132 */
133async function compileCoreRuntime(options) {
134 await doBuildJs(jsBundles, 'amp.js', options);
135}
136
137/**
138 * Compile and optionally minify the stylesheets and the scripts for the runtime

Callers 4

distFunction · 0.85
compileAllJsFunction · 0.85
buildFunction · 0.85
preBuildRuntimeFilesFunction · 0.85

Calls 1

doBuildJsFunction · 0.85

Tested by

no test coverage detected