You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
thescientist13
changed the title
make JSX transformations (and dependencies) opt-in
make JSX transformations (and dependencies) opt-in / lazy loaded
Mar 29, 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
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.
The text was updated successfully, but these errors were encountered: