diff --git a/api-metadata.json b/src/api-metadata.json similarity index 100% rename from api-metadata.json rename to src/api-metadata.json diff --git a/src/browser-polyfill.js b/src/browser-polyfill.js index 6d96e09..dc83fb4 100644 --- a/src/browser-polyfill.js +++ b/src/browser-polyfill.js @@ -3,7 +3,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; // eslint-disable-next-line no-undef -const apiMetadata = require("../api-metadata.json"); +const apiMetadata = require("./api-metadata.json"); if (typeof globalThis.browser === "undefined" || Object.getPrototypeOf(globalThis.browser) !== Object.prototype) { const CHROME_SEND_MESSAGE_CALLBACK_NO_RESPONSE_MESSAGE = "The message port closed before a response was received.";