Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Why are the outputs in this repo? #18

Unanswered
mgred asked this question in Q&A
Dec 25, 2023 · 2 comments · 1 reply
Discussion options

I'm wondering, since I think this quite uncommon to publish the outputs (ESM, CJS, UMD) in the source repository 🤔

You must be logged in to vote

Replies: 2 comments 1 reply

Comment options

I'm not up to date on latest js packaging techniques, but this mirrors what @niieani does with hashids. From my understanding it's just diff ways this lib could be imported, you can see the outputs are referenced in package.json

You must be logged in to vote
0 replies
Comment options

The outputs shouldn't be in main, only in the git tags of released versions. I will update it when I revamp the release system.

You must be logged in to vote
1 reply
Comment options

What do you mean by only in the git tags...? I think these outputs should never appear in git, only in the resulting package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /