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

Switch to ES6 exports #51

Merged
merged 4 commits into from
Sep 9, 2024
Merged

Switch to ES6 exports #51

merged 4 commits into from
Sep 9, 2024

Conversation

weotch
Copy link
Member

@weotch weotch commented Sep 9, 2024

So Vite doesn't complain like:

Uncaught SyntaxError: The requested module '/node_modules/@react-visual/contentful/dist/index.js?v=63b79c2f' does not provide an export named 'default' (at RichText.tsx:4:8)

Got this idea from:

Copy link

codesandbox bot commented Sep 9, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@weotch weotch merged commit 8235e53 into main Sep 9, 2024
4 checks passed
@weotch weotch deleted the es6-exports branch September 9, 2024 22:45
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.

1 participant