Skip to content

Commit 97f3abf

Browse files
authored
chore(docs): using jsdelivr insted of unpkg (#838)
1 parent 9639352 commit 97f3abf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,15 +136,15 @@ The `options` here is derived from CLI flags.
136136

137137
#### JSON Schema Store
138138

139-
Developers who are using [vscode](https://code.visualstudio.com/) or text editor which supports the JSON Language Server can leverage the [tsup schema store](https://unpkg.com/tsup/schema.json) via CDN. This schema store will provide intellisense capabilities such as completions, validations and descriptions within JSON file configurations like the `tsup.config.json` and `package.json` (tsup) property.
139+
Developers who are using [vscode](https://code.visualstudio.com/) or text editor which supports the JSON Language Server can leverage the [tsup schema store](https://cdn.jsdelivr.net/npm/tsup/schema.json) via CDN. This schema store will provide intellisense capabilities such as completions, validations and descriptions within JSON file configurations like the `tsup.config.json` and `package.json` (tsup) property.
140140

141141
Provide the following configuration in your `.vscode/settings.json` (or global) settings file:
142142

143143
```json
144144
{
145145
"json.schemas": [
146146
{
147-
"url": "https://unpkg.com/tsup/schema.json",
147+
"url": "https://cdn.jsdelivr.net/npm/tsup/schema.json",
148148
"fileMatch": [
149149
"package.json",
150150
"tsup.config.json"

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<!-- Stylesheet -->
1919
<link
2020
rel="stylesheet"
21-
href="https://unpkg.com/@egoist/docup@2/dist/docup.min.css"
21+
href="https://cdn.jsdelivr.net/npm/@egoist/docup@2/dist/docup.min.css"
2222
/>
2323
<style>
2424
.logo-dark {
@@ -36,7 +36,7 @@
3636
</head>
3737
<body>
3838
<script type="module">
39-
import * as docup from 'https://unpkg.com/@egoist/docup@2/dist/docup.min.js'
39+
import * as docup from 'https://cdn.jsdelivr.net/npm/@egoist/docup@2/dist/docup.min.js'
4040
docup.init({
4141
// ..options
4242
navLinks: [

0 commit comments

Comments
 (0)