Skip to content

Commit dc1046f

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/a44c42967442d65fd14272682fb84a6f32feb841/src/transforms/package.json:set-type-module.js Please contact the author of the transform if you believe there was an error.
1 parent 85e94d1 commit dc1046f

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

Diff for: .commitlintrc.js renamed to .commitlintrc.cjs

File renamed without changes.

Diff for: doc/manual/usage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Import the library where needed
44
```js
5-
const {build} = require( '@string-data-structure/failure-function' ) ;
5+
const {build} = await import( '@string-data-structure/failure-function' ) ;
66
// or
77
import {build} from '@string-data-structure/failure-function' ;
88
```

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"table"
2626
],
2727
"sideEffects": false,
28+
"type": "module",
2829
"source": "src/index.js",
2930
"main": "dist/index.cjs",
3031
"module": "dist/index.module.js",

0 commit comments

Comments
 (0)