-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Please provide a compressed package of es6's module syntax in NPM. #501
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
Comments
@ZhangChengLin or anybody else coming to this issue: Do you have a suggestion in how we can easily provide a minified version with the least amount of code and effort in the current codebase? To give some context I had the plan to create a release process but eventually dropped that because it was consuming too much of my time. Please read this for the context about this: #57 (comment). And this one too: #57 (comment) (scroll to the history up to the bottom). Ping the upvoters: @erralb @muuvmuuv @Chmylov @aleqsio @ValterJunior @akkis @lloydjatkinson |
@FagnerMartinsBrack for most of my project I use Rollup, see: https://github.com/muuvmuuv/vanilla-click-outside It is easy to set up and does this job very well. |
I’m planning to provide this library as an ES module with a fully modernized v3 release. |
With #539 in place, as soon as we release the next version, the release will contain a minified version. |
We've released version 3 beta, and the package comes with minified versions, for instance via jsdelivr: https://cdn.jsdelivr.net/npm/js-cookie@beta/dist/js.cookie.min.js There's an ES module variant as well: https://cdn.jsdelivr.net/npm/js-cookie@beta/dist/js.cookie.min.mjs Install via npm:
|
@carhartl I also added this last line to the release:
|
Not everyone will choose a CDN.
The text was updated successfully, but these errors were encountered: