1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
6 * Vendors.js is a file used to bundle and expose all dependencies needed to run
7 * the transpiled debugger modules when running in Firefox.
9 * To make transpilation easier, a vendored module should always be imported in
11 * - always with destructuring (import { a } from "modA";)
12 * - always without destructuring (import modB from "modB")
14 * Both are fine, but cannot be mixed for the same module.
17 import * as fuzzaldrinPlus from "fuzzaldrin-plus";
18 import * as reactAriaComponentsTabs from "react-aria-components/src/tabs";
20 // We cannot directly export literals containing special characters
21 // (eg. "my-module/Test") which is why they are nested in "vendored".
22 // The keys of the vendored object should match the module names
23 // !!! Should remain synchronized with .babel/transform-mc.js !!!
24 export const vendored = {
25 "fuzzaldrin-plus": fuzzaldrinPlus,
26 "react-aria-components/src/tabs": reactAriaComponentsTabs,