Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/api/addons.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ both static `import` and dynamic `import()` to load binary addons.

If we reuse the Hello World example from earlier, you could do:

```mjs
```js
// hello.mjs
import myAddon from './hello.node';
// N.B.: import {hello} from './hello.node' would not work
Expand Down
Loading