6a5019a719a9014c047e67aa1cf34453ab8392ce.js 878 B

12345678910111213141516171819202122232425262728
  1. System.register([], function (_export, _context) {
  2. "use strict";
  3. /**
  4. * This is the module which implements circular-reference detection.
  5. */
  6. /**
  7. * Reports a circular reference error fired by module import.
  8. * @param imported The binding of the import.
  9. * @param moduleRequest The module request of the import.
  10. * @param importMeta The import.meta of the source module.
  11. * @param extras Extra data passed by circular reference detection implementation.
  12. */
  13. function report(imported, moduleRequest, importMeta, extras) {
  14. console.warn(`Found possible circular reference in "${importMeta.url}", \
  15. happened when use "${imported}" imported from "${moduleRequest}" \
  16. `, extras.error);
  17. }
  18. _export("report", report);
  19. return {
  20. setters: [],
  21. execute: function () {}
  22. };
  23. });
  24. //# sourceMappingURL=6a5019a719a9014c047e67aa1cf34453ab8392ce.js.map