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

make JSX transformations (and dependencies) opt-in / lazy loaded #116

Open
thescientist13 opened this issue Mar 27, 2023 · 0 comments
Open
Assignees
Labels
feature New feature or request
Milestone

Comments

@thescientist13
Copy link
Member

thescientist13 commented Mar 27, 2023

Type of Change

Feature

Summary

It would be nice if the opt-in feature of authoring in JSX could be more intentional in that specific dependencies could be avoided on install / consumption unless needed.

Detail

For example, a "vanilla" WCC implementation without JSX does not require

  • acorn-jsx
  • escodegen

Would be good to find a way to make their installation and usage within the code more opt-in. Also, as observed in ProjectEvergreen/greenwood#972, it might nice to refactor jsx-loader.js so escodegen is not a leaky abstraction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant