-
Hi all =D Hope you are doing well ! I'm wondering where I can find a minified version for @octokit/rest. Thank you very much Kind regards |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 13 replies
-
If you want to import <script type="module">
import { Octokit } from "https://cdn.pika.dev/@octokit/rest";
</script> This will always import the latest version. It is already minified and optimized for usage in modern browsers. If you want to avoid breaking changes in future, you can e.g. import only 17.x.x versions by using Does that work for you? |
Beta Was this translation helpful? Give feedback.
-
I've attached a bundled & minified version of Does that work for you? I could set it up to do that automatically for all future releases, but you've been the first to ask for it so I'm not sure if it's worth the tradeoffs yet. I think there should also be online services that can bundle & minify npm packages on the fly, but I couldn't find any right now |
Beta Was this translation helpful? Give feedback.
-
Hi again @gr2m , I was trying to integrate the minified file you have shared with me and it didn't work. Thank you very much in advance. |
Beta Was this translation helpful? Give feedback.
-
I've created a new bundle and attached it to https://github.com/octokit/rest.js/releases/tag/v17.10.0. Does that one work for you? |
Beta Was this translation helpful? Give feedback.
I've created a new bundle and attached it to https://github.com/octokit/rest.js/releases/tag/v17.10.0. Does that one work for you?