doc: describe using multiple link-module on win

Current description seems to suggest that only one linked-module can be
provided. This modifies the example to show that multiple
inked-modules can be used.

PR-URL: https://github.com/nodejs/node/pull/20774
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
pull/20809/merge
Bartosz Sosnowski 2018-05-16 13:59:48 +02:00 committed by Ruben Bridgewater
parent d5a117c73f
commit 30ad0793ec
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762
1 changed files with 3 additions and 2 deletions

View File

@ -423,8 +423,9 @@ $ ./configure --link-module '/root/myModule.js' --link-module './myModule2.js'
### Windows
To make `./myCustomModule.js` available via `require('myCustomModule')`.
To make `./myModule.js` available via `require('myModule')` and
`./myModule2.js` available via `require('myModule2')`:
```console
> .\vcbuild link-module './myCustomModule.js'
> .\vcbuild link-module './myModule.js' link-module './myModule2.js'
```