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

Configure typescript and babel standalone to load separate from bundle (via <script async) #335

Open
seveibar opened this issue Dec 2, 2024 · 3 comments · May be fixed by #392
Open

Configure typescript and babel standalone to load separate from bundle (via <script async) #335

seveibar opened this issue Dec 2, 2024 · 3 comments · May be fixed by #392

Comments

@seveibar
Copy link
Contributor

seveibar commented Dec 2, 2024

This will allow the snippets page to load much faster (will reduce bundle size)

Whenever typescript or babel standalone is used, you should pull it from the global window object (or wherever the script globally loads to)

In places where we need typescript/babel standalone available, throw an error or wait until it's loaded

The bundle size should be smaller on the PR

There may be some dependencies that need to be adjusted.

Note: This work REQUIRES #288

/bounty $30

Copy link

algora-pbc bot commented Dec 2, 2024

💎 $30 bounty • tscircuit

Steps to solve:

  1. Start working: Comment /attempt #335 with your implementation plan
  2. Submit work: Create a pull request including /claim #335 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to tscircuit/snippets!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @techmannih Dec 3, 2024, 4:53:35 PM WIP
🟢 @DrSensor #392

@techmannih
Copy link
Contributor

techmannih commented Dec 3, 2024

/attempt #335

Copy link

algora-pbc bot commented Dec 18, 2024

💡 @DrSensor submitted a pull request that claims the bounty. You can visit your bounty board to reward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment