diff --git a/index.js b/index.js index 031bfb5..1c7352d 100644 --- a/index.js +++ b/index.js @@ -81,7 +81,8 @@ let loadConfig = skipEvent => { __filename: filePath, module: { exports: {} - } + }, + process }; script.runInNewContext(sandbox); parsed = sandbox.module.exports;