Skip to content

Commit

Permalink
chore(docs): clarify CJS usage
Browse files Browse the repository at this point in the history
Refs: #1331
  • Loading branch information
ayushmanchhabra committed Jan 1, 2025
1 parent 580668f commit d673459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ CJS import:
```javascript
let nwbuild;
import("nwbuild")
.then((object) => {
nwbuild = obj;
.then((moduleObject) => {
nwbuild = moduleObject;
})
.catch((error) => {
console.error(error);
Expand Down

0 comments on commit d673459

Please sign in to comment.