Skip to content

Commit a1f1c39

Browse files
committed
[skip ci] docs(guide): improve instructions for yarn workspaces
1 parent 00d7710 commit a1f1c39

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/guide/guide.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ module.exports = {
1919
electronBuilder: {
2020
// List native deps here if they don't work
2121
externals: ['my-native-dep'],
22-
// Set this to your project's node_modules folder if it is not ./node_modules (for yarn workspaces)
23-
nodeModulesPath: '../../node_modules'
22+
// If you are using Yarn Workspaces, you may have multiple node_modules folders
23+
// List them all here so that VCP Electron Builder can find them
24+
nodeModulesPath: ['../../node_modules', './node_modules]
2425
}
2526
}
2627
}

0 commit comments

Comments
 (0)