diff --git a/plugins.js b/plugins.js index d8761ec1..a4e1a8b9 100644 --- a/plugins.js +++ b/plugins.js @@ -204,8 +204,14 @@ function getPaths () { }; } +// expose to renderer exports.getPaths = getPaths; +// get paths from renderer +exports.getBasePaths = function () { + return { path, localPath }; +}; + function requirePlugins () { const { plugins, localPlugins } = paths;