diff --git a/src/renderer-require.js b/src/renderer-require.js index e7f8722..94bdec3 100644 --- a/src/renderer-require.js +++ b/src/renderer-require.js @@ -41,7 +41,7 @@ const BrowserWindow = process.type === 'renderer' ? */ export async function rendererRequireDirect(modulePath, timeout=240*1000) { let bw = new BrowserWindow({width: 500, height: 500, show: false}); - let fullPath = require.resolve(modulePath); + let fullPath = modulePath; let ready = Observable.merge( fromRemoteWindow(bw, 'did-finish-load', true),