Skip to content

Commit

Permalink
T369118 docs: Update README to warn about Wikipedia Preview 1.9.0+ Un…
Browse files Browse the repository at this point in the history
…pkg issue (#221)

* T369118 docs: Update README to warn about Wikipedia Preview 1.9.0+ Unpkg issue

* Update README.md
  • Loading branch information
hueitan authored Aug 20, 2024
1 parent ef0c907 commit acf3718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ A WordPress plugin providing a thin wrapper around Wikipedia Preview to simplify
wikipediaPreview.init()
</script>
```
You can serve the file yourself or include it from [unpkg](https://unpkg.com/browse/wikipedia-preview@latest/dist/wikipedia-preview.umd.cjs).
You can serve the file yourself or include it from [unpkg](https://unpkg.com/browse/wikipedia-preview@latest/dist/wikipedia-preview.umd.cjs) (The library version 1.9.0 and later cannot be loaded from Unpkg due to a [MIME type mismatch issue](https://github.com/mjackson/unpkg/issues/355), the current [workaround solution](https://github.com/mjackson/unpkg/issues/355#issuecomment-1541524887) is adding the `?module` parameter to get the correct content-type).

### NPM
```bash
Expand Down

0 comments on commit acf3718

Please sign in to comment.