Closed rschristian closed 1 year ago
Currently, react/jsx-runtime is being inline into your bundles due to it not being marked as external. You can plainly see this in the built bundles, React's license acts as an easy to spot annotation.
react/jsx-runtime
This bloats the bundle and makes it incompatible with Preact (see https://github.com/preactjs/preact/issues/3870), as React cannot be aliased out if it's being inlined.
Thanks!
Currently,
react/jsx-runtime
is being inline into your bundles due to it not being marked as external. You can plainly see this in the built bundles, React's license acts as an easy to spot annotation.This bloats the bundle and makes it incompatible with Preact (see https://github.com/preactjs/preact/issues/3870), as React cannot be aliased out if it's being inlined.