Add CDN-ready UMD and IIFE bundles for @bquery/ui#14
Conversation
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/41f463e2-6e2f-4c6a-9801-867666f86bb3
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/41f463e2-6e2f-4c6a-9801-867666f86bb3
|
@copilot update entsprechend die Version und Dokumentation in den docks und der ReadMe |
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/8028c0d0-ef4b-4193-8480-9578c9a165b0
Erledigt mit |
There was a problem hiding this comment.
Pull request overview
This PR adds a dedicated CDN build that produces UMD and IIFE bundles for @bquery/ui, updates package metadata for CDN default-file resolution, and refreshes docs/README to document version-pinned CDN usage.
Changes:
- Added
vite.cdn.config.tsto builddist/index.umd.jsanddist/index.iife.js. - Updated
package.jsonto bump version to1.1.0, addunpkg/jsdelivrentrypoints, and run the CDN build as part ofnpm run build. - Updated installation docs and README with CDN usage examples (ESM/UMD/IIFE) and version pinning guidance.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
vite.cdn.config.ts |
New Vite config to emit UMD/IIFE “root bundle” outputs for CDN usage. |
package.json |
Version bump + unpkg/jsdelivr fields + build pipeline now includes the CDN build step. |
docs/guide/installation.md |
Expanded CDN section with version-pinned ESM/UMD/IIFE snippets and explanation. |
README.md |
Added CDN-ready highlights + CDN snippet and version-pinning callouts. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/2f3b7603-67ec-4d58-9c67-aad7634ea3f7
Erledigt mit |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.