You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ A [Node.js add-ons](https://nodejs.org/dist/latest/docs/api/addons.html) loader.
18
18
19
19
Allows to connect native node modules with `.node` extension.
20
20
21
-
> ⚠ `node-loader` only works on the `node`/`electron-main`/`electron-main` targets.
21
+
> ⚠ `node-loader` only works on the `node`/`async-node`/`electron-main`/`electron-renderer`/`electron-preload` targets.
22
22
23
23
## Getting Started
24
24
@@ -28,7 +28,7 @@ To begin, you'll need to install `node-loader`:
28
28
$ npm install node-loader --save-dev
29
29
```
30
30
31
-
Setup the `target` option to `node`/`electron-main`/`electron-main` value and do not mock the `__dirname` global variable.
31
+
Setup the `target` option to `node`/`async-node`/`electron-main`/`electron-renderer`/`electron-preload` value and do not mock the `__dirname` global variable.
0 commit comments