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

feat: add jsx precompile skip element option #23457

Merged
merged 3 commits into from
Apr 22, 2024
Merged

Conversation

marvinhagemeister
Copy link
Contributor

This PR wires up a new jsxPrecompileSkipElements option in compilerOptions that can be used to exempt a list of elements from being precompiled with the precompile JSX transform.

@marvinhagemeister marvinhagemeister merged commit 9686a88 into main Apr 22, 2024
17 checks passed
@marvinhagemeister marvinhagemeister deleted the precompile-skip branch April 22, 2024 15:07
@@ -213,7 +213,7 @@ async function ensureNoNewITests() {
"pm_tests.rs": 0,
"publish_tests.rs": 28,
"repl_tests.rs": 0,
"run_tests.rs": 381,
"run_tests.rs": 382,
Copy link
Member

Choose a reason for hiding this comment

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

In the future, we should be making this number go down and not up.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried going the specs way but all other jsx specs used comments to set their settings. Since this has no equivalent comment (yet?) I opted to just go with the existing itest macro

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.

None yet

3 participants