diff --git a/scripts/check-exports.mjs b/scripts/check-exports.mjs index 94be4ca4..a3671008 100644 --- a/scripts/check-exports.mjs +++ b/scripts/check-exports.mjs @@ -1,6 +1,4 @@ import * as browser from '@sentry/browser'; -import * as renderer from '../esm/renderer/index.js'; - import * as node from '@sentry/node'; export default async function () { @@ -8,6 +6,7 @@ export default async function () { // the electron module built-in. await import('./electron-shim.mjs'); + const renderer = await import('../esm/renderer/index.js'); const main = await import('../esm/main/index.js'); const browserExports = Object.keys(browser);