Debian Codegraph @

packages/babel-plugin-transform-modules-umd/test/fixtures/interop-module-string-names/import-named/output.js

raw
1 (function (global, factory) {
2 if (typeof define === "function" && define.amd) {
3 define(["foo"], factory);
4 } else if (typeof exports !== "undefined") {
5 factory(require("foo"));
6 } else {
7 var mod = {
8 exports: {}
9 };
10 factory(global.foo);
11 global.input = mod.exports;
12 }
13 })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_foo) {
14 "use strict";
15
16 _foo["default imports"];
17 });