chore: rename built-in modules to bindings to match naming update in node (#37182)
This commit is contained in:
parent
8b380ee2f2
commit
35a9e67dba
56 changed files with 103 additions and 100 deletions
|
@ -138,7 +138,7 @@ interface Process {
|
|||
At the very bottom of your `api_name.cc` file:
|
||||
|
||||
```cpp title='api_name.cc'
|
||||
NODE_LINKED_MODULE_CONTEXT_AWARE(electron_browser_{api_name},Initialize)
|
||||
NODE_LINKED_BINDING_CONTEXT_AWARE(electron_browser_{api_name},Initialize)
|
||||
```
|
||||
|
||||
In your [`shell/common/node_bindings.cc`](https://github.com/electron/electron/blob/main/shell/common/node_bindings.cc) file, add your node binding name to Electron's built-in modules.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue