build-system/tasks/extension-helpers.js
/**
 * Initializes all extensions from build-system/compile/bundles.config.extensions.json
 * if not already done and populates the given extensions object.
 * @param {?Object} extensionsObject
 */
Initializes all extensions from build-system/compile/bundles.config.extensions.json
if not already done and populates the given extensions object.
@param {?Object} extensionsObject
Initializes all extensions from build - system / compile / bundles . config . extensions . json if not already done and populates the given extensions object . @param { ?Object } extensionsObject
function maybeInitializeExtensions(extensionsObject = extensions) {
  if (Object.keys(extensionsObject).length === 0) {
    verifyExtensionBundles();
    extensionBundles.forEach((c) => {
      declareExtension(c.name, c.version, c.options, extensionsObject);
    });
  }
}
function maybeInitializeExtensions ( extensionsObject = extensions ) { if ( Object . keys ( extensionsObject ) . length === 0 ) { verifyExtensionBundles ( ) ; extensionBundles . forEach ( ( c ) => { declareExtension ( c . name , c . version , c . options , extensionsObject ) ; } ) ; } }
Initializes all extensions from build-system/compile/bundles.config.extensions.json
 if not already done and populates the given extensions object.
Initializes all extensions from build - system / compile / bundles . config . extensions . json if not already done and populates the given extensions object .