Skip to content

Commit

Permalink
Replace skypack w/ esm.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm authored Apr 1, 2022
1 parent 41c4e83 commit e1270c3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,17 @@ In Node.js (version 12.20+, 14.14+, or 16.0+), install with [npm][]:
npm install rehype-react
```

In Deno with [Skypack][]:
In Deno with [`esm.sh`][esmsh]:

```js
import rehypeReact from 'https://cdn.skypack.dev/rehype-react@7?dts'
import rehypeReact from 'https://esm.sh/rehype-react@7'
```

In browsers with [Skypack][]:
In browsers with [`esm.sh`][esmsh]:

```html
<script type="module">
import rehypeReact from 'https://cdn.skypack.dev/rehype-react@7?min'
import rehypeReact from 'https://esm.sh/rehype-react@7?bundle'
</script>
```

Expand Down Expand Up @@ -252,7 +252,7 @@ abide by its terms.

[npm]: https://docs.npmjs.com/cli/install

[skypack]: https://www.skypack.dev
[esmsh]: https://esm.sh

[health]: https://github.com/rehypejs/.github

Expand Down

0 comments on commit e1270c3

Please sign in to comment.