Skip to content

fix(jsx-email): shikiji error while using cjs, auto import react #130

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

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

shellscape
Copy link
Owner

Component / Package Name: jsx-email

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

Fixes #122

Description

This PR resolves an issue with using the package in commonjs, and also removes the need for templates to import import React from 'react'.

@shellscape shellscape merged commit e0a7eb4 into main Jan 9, 2024
@shellscape shellscape deleted the fix/jsx-email/shikiji-cjs-import-react branch January 9, 2024 22:39
Copy link

@dan-scrumsdotcom dan-scrumsdotcom left a comment

Choose a reason for hiding this comment

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

Omg thank you, not sure if you remember but I was having struggles with this in December and we chatted on Discord, with this I am now trying JSX email again :)

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.

TS CommonJS builds broken with a Node.js backend
2 participants