def collect_user_config_js(addon_configs):
 js_modules = []
 for addon_config in addon_configs:
  js_path = paths.resolve_addon_path(addon_config, 'user-cfg.js')
  if js_path:
   js_modules.append(js_path)
 return js_modules

def collect_user_config_js ( addon_configs ) : js_modules = [ ] for addon_config in addon_configs : js_path = paths . resolve_addon_path ( addon_config , 'user-cfg.js' ) if js_path : js_modules . append ( js_path ) return js_modules
collect webpack bundles for each of the addons user-cfg .