Skip to content

Commit 4065919

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/aureooms/rejuvenate/blob/ad1e080173df7f6e53337b7b444f663e13d94c30/src/transforms/package.json:set-type-module.js Please contact the author of the transform if you believe there was an error.
1 parent b9aa7d1 commit 4065919

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 operator = require( '@functional-abstraction/operator' ) ;
5+
const operator = await import( '@functional-abstraction/operator' ) ;
66
// or
77
import * as operator from '@functional-abstraction/operator' ;
88
```

package.json

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

0 commit comments

Comments
 (0)