Skip to content

Commit fa76132

Browse files
committed
Separate Electron advice in README
1 parent 3e7027d commit fa76132

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ The `compile()` method always returns an object, which can contain `errors`, `so
8787

8888
Starting from version 0.4.11 there is a new entry point named `compileStandardWrapper()` which supports Solidity's [standard JSON input and output](https://solidity.readthedocs.io/en/develop/using-the-compiler.html#compiler-input-and-output-json-description). It also maps old compiler output to it.
8989

90+
### Using with Electron
91+
9092
**Note:**
9193
If you are using Electron, `nodeIntegration` is on for `BrowserWindow` by default. If it is on, Electron will provide a `require` method which will not behave as expected and this may cause calls, such as `require('solc')`, to fail.
9294

0 commit comments

Comments
 (0)