Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

feat: use tsup instead tsc for single file dist #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

antfu
Copy link
Contributor

@antfu antfu commented Jul 24, 2021

This PR continues #8, as this might be an opinion choice, just raising this as an option. If you like it, you might take this and close #8.

tsup allows to bundle the package and generate dts within single file. You can find more on it's doc.

@antfu antfu changed the title refactor: ships esm instead of cjs feat: use tsup instead tsc for single file dist Jul 24, 2021
@zikaari
Copy link
Owner

zikaari commented Jul 26, 2021

Hey @antfu, thanks for sending the PR. I'm out of town for next 2 days and will have a look at these when I get back (including your other 2 pull requests)

Cheers.

@zikaari
Copy link
Owner

zikaari commented Jul 29, 2021

I have an alternate proposal, quite the opposite in fact, please join the discussion over at #11. We can decide the fate of this PR, and #8, once we have some consensus.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants