bs-widget 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,6 +29,14 @@ You can also use jsDelivr:
|
|
|
29
29
|
<script src="https://cdn.jsdelivr.net/npm/bs-widget@1.0.2/dist/bundle.js"></script>
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
+
Alternatively, to always load directly from the `main` branch on GitHub (e.g. for clients with a fixed URL):
|
|
33
|
+
|
|
34
|
+
```html
|
|
35
|
+
<script src="https://cdn.jsdelivr.net/gh/zoobean/bs-widget/dist/bundle.js"></script>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
> **Note:** `dist/bundle.js` is automatically rebuilt and committed to `main` by the `sync-dist` GitHub Actions workflow whenever source files change. If you notice stale content after a release, force a cache refresh by visiting `https://purge.jsdelivr.net/gh/zoobean/bs-widget/dist/bundle.js`.
|
|
39
|
+
|
|
32
40
|
### Option B: Local build
|
|
33
41
|
|
|
34
42
|
```html
|