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

Add support for custom pragma #10

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

daniel-ac-martin
Copy link

Issue: #9

What Changed

New options have been added to use a custom pragma. (Such as h() instead or React.createElement().)

  • options.pragma (default: React.createElement)
  • options.pragmaImportSource (default: react)

How to test

I'm not certain. I've tested this in my own set-up and I've run the unit test suite.

That said, I'm not sure whether the unit tests cover loader.js.

Change Type

  • maintenance
  • documentation
  • patch
  • minor
  • major

@shilman shilman added enhancement New feature or request minor Increment the minor version when merged labels Jun 7, 2022
@daniel-ac-martin
Copy link
Author

@shilman: Any thoughts on this one yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor Increment the minor version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants