Backed out 14 changesets (bug 1865005, bug 1864168, bug 1864155, bug 1862814, bug...
[gecko.git] / devtools / client / debugger / src / vendors.js
blob98528eb1c051f9a3f95533220964e866d3fc026f
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/>. */
5 /**
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.
8  *
9  * To make transpilation easier, a vendored module should always be imported in
10  * same way:
11  * - always with destructuring (import { a } from "modA";)
12  * - always without destructuring (import modB from "modB")
13  *
14  * Both are fine, but cannot be mixed for the same module.
15  */
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,