-
Notifications
You must be signed in to change notification settings - Fork 438
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
Include dist files #16
Comments
I totally agree that built assets should be included in the release zip. As for in the repo, are there many other projects that include the built assets in the repository? That feels like an anti-pattern to me, but I'm just one random developer 😄 |
It's a personal preference regarding the repo :) Any or both of the solutions would be much better than nothing :P |
I never include dist files in Git. I don't mind trying to force-add them for the tags, as long as it's not too much work. This is an npm module, so you can always access them using npm's tarball URL (seen here) or unpkg.com/mitt/. |
Hmm, the reason I brought this up is https://github.com/developit/mitt/releases Sure, I can have it as a dep, but this could be handy too. |
Agreed! I think I can force-add them in the release script. |
Is that even possible? To have the dist files in tag. |
not in a nice way |
So the only solution is committing the dist files and updating them with every release. Personally, I'm not aware of another solution. |
Ah, if that's the only way then I don't think it's worth it. Just like I don't publish anything to bower, I don't really want people relying on Github to install things. |
A dist folder would make life a lot easier for many people. |
Do you have a concrete use-case I can understand? |
A developer comes across the repository and wants to test the library without having to install 42MB of dependencies ? |
Installing this library doesn't require any other dependencies. There are only |
Perhaps we could skirt around having to commit |
👋 I use Travis to publish distribution builds to GH releases (and also to publish to npm), which looks, for example, like this. Maybe that’s something you’d want to have? |
Mayber add the project to jsdelivr? https://github.com/jsdelivr/jsdelivr/blob/master/CONTRIBUTING.md |
I'm fine if someone wants to, though I'm actually not sure how useful it would be to load this library over a CDN. It's not a UMD module by default (though there is a |
It seems currently the dist files aren't in the repo nor in the release zip.
Can you include them in the next release?
The text was updated successfully, but these errors were encountered: