Skip to content

Commit 522741d

Browse files
committed
fix: .js->.mjs in install scripts
1 parent 9aa4e47 commit 522741d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/guide/hooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ Add the postinstall and preuninstall scripts:
284284
```json
285285
{
286286
"scripts": {
287-
"postinstall": "node postinstall.js",
288-
"preuninstall": "node preuninstall.js"
287+
"postinstall": "node postinstall.mjs",
288+
"preuninstall": "node preuninstall.mjs"
289289
}
290290
}
291291
```

0 commit comments

Comments
 (0)