Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(inferencer): prism theme imports in ESM builds #5835

Closed
wants to merge 2 commits into from

Conversation

aliemir
Copy link
Member

@aliemir aliemir commented Apr 9, 2024

There's an issue with prism-react-renderer's themes when imported without an extension in ESM builds affecting @refinedev/inferencer and users with ESM environments.

Added a small plugin to our esbuild setup to replace the imports with correct file and extension.

Resolves #5834

@aliemir aliemir requested a review from a team as a code owner April 9, 2024 16:36
Copy link

changeset-bot bot commented Apr 9, 2024

🦋 Changeset detected

Latest commit: 1b23da2

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@aliemir aliemir changed the title fix(devtools): prism theme imports in ESM builds fix(inferencer): prism theme imports in ESM builds Apr 9, 2024
@aliemir aliemir closed this Apr 9, 2024
@refine-bot refine-bot temporarily deployed to deploy-preview-mui-5836 April 9, 2024 16:42 Inactive
@refine-bot refine-bot temporarily deployed to deploy-preview-antd-5836 April 9, 2024 16:44 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

I updated refinedev and refinedev/inferencer and suddenly project breaks 'prism-react-renderer/themes/vsDark'
2 participants