webpack.config.js
function injectRegistry(entry) {
  const extraFiles = [registryFile, actBuildInfoFile, actMetaData];
  // build also the registry
  if (typeof entry === 'string') {
    return extraFiles.concat(entry);
  }
  const transformed = {};
  Object.keys(entry).forEach((eentry) => {
    transformed[eentry] = extraFiles.concat(entry[eentry]);
  });
  return transformed;
}
function injectRegistry(entry) {
  const extraFiles = [registryFile, actBuildInfoFile, actMetaData];
  // build also the registry
  if (typeof entry === 'string') {
    return extraFiles.concat(entry);
  }
  const transformed = {};
  Object.keys(entry).forEach((eentry) => {
    transformed[eentry] = extraFiles.concat(entry[eentry]);
  });
  return transformed;
}
function injectRegistry ( entry ) { const extraFiles = [ registryFile , actBuildInfoFile , actMetaData ] ; // build also the registry if ( typeof entry === 'string' ) { return extraFiles . concat ( entry ) ; } const transformed = { } ; Object . keys ( entry ) . forEach ( ( eentry ) => { transformed [ eentry ] = extraFiles . concat ( entry [ eentry ] ) ; } ) ; return transformed ; }
inject the registry to be included
@param entry
@returns {*}
inject the registry to be included