Open bengotow opened 8 years ago
The docs suggest you can use a .compilerc.json file as a configuration source, but the standard use case (calling init per the docs) doesn't search for a config file at this path. (https://github.com/bengotow/electron-compile/blame/master/src/config-parser.js#L300)
.compilerc.json
init
Only the async createCompilerHostFromProjectRoot API checks .compilerc.json: https://github.com/electron/electron-compile/blob/master/src/config-parser.js#L240
createCompilerHostFromProjectRoot
The docs suggest you can use a
.compilerc.json
file as a configuration source, but the standard use case (callinginit
per the docs) doesn't search for a config file at this path. (https://github.com/bengotow/electron-compile/blame/master/src/config-parser.js#L300)Only the async
createCompilerHostFromProjectRoot
API checks .compilerc.json: https://github.com/electron/electron-compile/blob/master/src/config-parser.js#L240