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

fix: don't register typescript in browsers #8582

Merged
merged 1 commit into from
Jun 15, 2023
Merged

fix: don't register typescript in browsers #8582

merged 1 commit into from
Jun 15, 2023

Conversation

sxzz
Copy link
Member

@sxzz sxzz commented Jun 15, 2023

  • Don't require typescript and call registerTS function in browsers.
    • Reduce the bundle size used in browsers.
  • Add typescript as a peer dep.

@sxzz sxzz marked this pull request as ready for review June 15, 2023 08:22
@sxzz sxzz changed the title fix: don't registerTS in browsers fix: don't register typescript in browsers Jun 15, 2023
@yyx990803 yyx990803 merged commit 6f45f76 into main Jun 15, 2023
@yyx990803 yyx990803 deleted the fix/register-ts branch June 15, 2023 08:35
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.

2 participants