Skip to content

Commit 8110bef

Browse files
🤖 config(build): Set type to module in package.json.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/make-github-pseudonymous-again/rejuvenate/blob/042c55f2254a9efdce5074d537141d6f85a98927/src/transforms/package.json:set-type-module.js Please contact the author of the transform if you believe there was an error.
1 parent 15b4cd4 commit 8110bef

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed
File renamed without changes.

doc/manual/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Import the library where needed
44
```js
5-
const {sorted} = require( '@iterable-iterator/sorted' ) ;
5+
const {sorted} = await import( '@iterable-iterator/sorted' ) ;
66
// or
77
import {sorted} from '@iterable-iterator/sorted' ;
88
```

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"sorted"
2121
],
2222
"sideEffects": false,
23+
"type": "module",
2324
"source": "src/index.js",
2425
"main": "dist/index.cjs",
2526
"module": "dist/index.module.js",

0 commit comments

Comments
 (0)