Skip to content

Commit 44ab87a

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 2be30fd commit 44ab87a

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 {build} = require( '@string-data-structure/longest-prefix-suffix-array' ) ;
5+
const {build} = await import( '@string-data-structure/longest-prefix-suffix-array' ) ;
66
// or
77
import {build} from '@string-data-structure/longest-prefix-suffix-array' ;
88
```

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"table"
2424
],
2525
"sideEffects": false,
26+
"type": "module",
2627
"source": "src/index.js",
2728
"main": "dist/index.cjs",
2829
"module": "dist/index.module.js",

0 commit comments

Comments
 (0)