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
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,19 @@ Allows to connect native node modules with `.node` extension.
24
24
To begin, you'll need to install `node-loader`:
25
25
26
26
```console
27
-
$ npm install node-loader --save-dev
27
+
npm install node-loader --save-dev
28
+
```
29
+
30
+
or
31
+
32
+
```console
33
+
yarn add -D node-loader
34
+
```
35
+
36
+
or
37
+
38
+
```console
39
+
pnpm add -D node-loader
28
40
```
29
41
30
42
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