* Pre-builds default extensions and ones requested via command line flags. * @return {Promise }
()
| 157 | * @return {Promise<void>} |
| 158 | */ |
| 159 | async function preBuildExtensions() { |
| 160 | const extensions = getExtensionsToBuild(/* preBuild */ true); |
| 161 | for (const extensionBundle in extensionBundles) { |
| 162 | const extension = extensionBundles[extensionBundle].name; |
| 163 | if (extensions.includes(extension) && !extensionBundle.endsWith('latest')) { |
| 164 | await build(extensionBundles, extensionBundle, doBuildExtension); |
| 165 | } |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | module.exports = { |
| 170 | lazyBuildExtensions, |
no test coverage detected