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/. */
7 // This array defines overrides that webpack will use when bundling the JS on iOS
8 // in order to load the right modules
9 const ModuleOverrides
= {
10 "AppConstants.sys.mjs": "Helpers.ios.mjs",
11 "XPCOMUtils.sys.mjs": "Helpers.ios.mjs",
12 "Region.sys.mjs": "Helpers.ios.mjs",
13 "OSKeyStore.sys.mjs": "Helpers.ios.mjs",
14 "ContentDOMReference.sys.mjs": "Helpers.ios.mjs",
15 "FormAutofill.sys.mjs": "FormAutofill.ios.sys.mjs",
16 "EntryFile.sys.mjs": "FormAutofillChild.ios.sys.mjs",
17 "LoginHelper.sys.mjs": "EmptyModule.sys.mjs",
20 // We need this because not all webpack libraries used in iOS are ES Modules
21 // Hence we defer to CommonJS.
22 // eslint-disable-next-line no-undef
23 module
.exports
= { ModuleOverrides
};