Skip to content

Commit

Permalink
weird bug with content being available under "default" key in dynamic…
Browse files Browse the repository at this point in the history
… JSON import
  • Loading branch information
dcastil committed Jun 23, 2024
1 parent a5b49a9 commit a496d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/metrics-report/src/get-package-size.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ async function getEntryPointSizes({ shouldOmitFailures }) {
* @returns {Promise<EntryPointConfiguration[]>}
*/
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)
Expand Down

0 comments on commit a496d56

Please sign in to comment.