Skip to content

Conversation

@ThiefMaster
Copy link
Member

No description provided.

@ThiefMaster ThiefMaster added this to the v3.3 milestone Jun 12, 2024
@ThiefMaster ThiefMaster added the build-wheel Build a Python wheel for this PR label Jun 12, 2024
@github-actions github-actions bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript deps labels Jun 12, 2024
Comment on lines +161 to +165
// TODO remove after updating react:
fallback: {
'react/jsx-runtime': 'react/jsx-runtime.js',
'react/jsx-dev-runtime': 'react/jsx-dev-runtime.js',
},
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed beacause React 17 does not have the proper ESM exports, but react-pdf imports react/jsx-runtime internally (they use the new-style jsx transform)

@ThiefMaster ThiefMaster removed the build-wheel Build a Python wheel for this PR label Jun 12, 2024
@ThiefMaster ThiefMaster enabled auto-merge (squash) June 12, 2024 15:53
@ThiefMaster ThiefMaster merged commit 5eb618f into indico:master Jun 12, 2024
@ThiefMaster ThiefMaster deleted the update-pdfjs branch June 12, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript deps

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant