diff --git a/.github/actions/metrics-report/src/get-package-size.mjs b/.github/actions/metrics-report/src/get-package-size.mjs index e8f5bd6..018d91d 100644 --- a/.github/actions/metrics-report/src/get-package-size.mjs +++ b/.github/actions/metrics-report/src/get-package-size.mjs @@ -105,7 +105,7 @@ async function getEntryPointSizes({ shouldOmitFailures }) { * @returns {Promise} */ async function getEntryPointConfigs() { - const pkg = await import('../../../../package.json', { assert: { type: 'json' } }) + const pkg = (await import('../../../../package.json', { assert: { type: 'json' } })).default return Object.entries(pkg.exports).flatMap(([relativeEntryPointPath, bundleObject]) => { const entryPointPath = path.resolve('tailwind-merge', relativeEntryPointPath)