shadow$provide.module$node_modules$pixi_DOT_js$lib$environment$autoDetectEnvironment = function(global, require, module, exports) {
  async function loadEnvironmentExtensions(skip) {
    if (!skip) {
      for (skip = 0; skip < environments.length; skip++) {
        const env = environments[skip];
        if (env.value.test()) {
          await env.value.load();
          break;
        }
      }
    }
  }
  global = require("module$node_modules$pixi_DOT_js$lib$extensions$Extensions");
  "use strict";
  const environments = [];
  global.extensions.handleByNamedList(global.ExtensionType.Environment, environments);
  exports.autoDetectEnvironment = async function(add) {
    return loadEnvironmentExtensions(!add);
  };
  exports.loadEnvironmentExtensions = loadEnvironmentExtensions;
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$environment$autoDetectEnvironment.js.map
