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

Demo: Build with tsc #534

Closed
wants to merge 1 commit into from
Closed

Demo: Build with tsc #534

wants to merge 1 commit into from

Conversation

lachlancollins
Copy link
Member

Part of the effort to address tsup issues.

Pros:

  • The output is simply the TS stripped types, no bundling occurs
  • Easy to transpile to target older ES spec

Cons:

  • Only generates .js and .d.ts for ESM or for CJS, not both at once
  • To generate both, it would require a lot more config (is CJS still necessary?)

@crutchcorn
Copy link
Member

Superseded by #528 and migrating to Vite

Thanks so much for your help!

@crutchcorn crutchcorn closed this Dec 29, 2023
@lachlancollins lachlancollins deleted the demo-tsc-build branch December 29, 2023 06:41
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