diff --git a/src/api-metadata.json b/api-metadata.json similarity index 100% rename from src/api-metadata.json rename to api-metadata.json diff --git a/src/browser-polyfill.js b/src/browser-polyfill.js index dc83fb4..6d96e09 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.";