-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from serkodev/fix/exports-file-ext
fix: exports file extensions
- Loading branch information
Showing
5 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ isApng(new Uint8Array(buffer)) | |
#### As old-school global script tag | ||
|
||
Url for latest version: `https://unpkg.com/is-apng`<br> | ||
Url for specific version: `https://unpkg.com/is-apng@1.0.1/dist/index.js` | ||
Url for specific version: `https://unpkg.com/is-apng@1.1.0/dist/index.js` | ||
|
||
```html | ||
<script src="https://unpkg.com/is-apng" type="text/javascript"></script> | ||
|
@@ -52,12 +52,12 @@ Url for specific version: `https://unpkg.com/[email protected]/dist/index.js` | |
|
||
#### As module | ||
|
||
Url for latest version: `https://unpkg.com/is-apng/dist/index.esm.js`<br> | ||
Url for specific version: `https://unpkg.com/is-apng@1.0.1/dist/index.esm.js` | ||
Url for latest version: `https://unpkg.com/is-apng/dist/index.mjs`<br> | ||
Url for specific version: `https://unpkg.com/is-apng@1.1.0/dist/index.mjs` | ||
|
||
```html | ||
<script type="module"> | ||
import isApng from 'https://unpkg.com/is-apng/dist/index.esm.js' | ||
import isApng from 'https://unpkg.com/is-apng/dist/index.mjs' | ||
console.log(typeof isApng); | ||
// isApng(...) | ||
|
@@ -72,7 +72,7 @@ or | |
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"is-apng": "https://unpkg.com/is-apng/dist/index.esm.js" | ||
"is-apng": "https://unpkg.com/is-apng/dist/index.mjs" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters