expose paths to renderer

This commit is contained in:
Guillermo Rauch 2016-07-08 09:48:37 -07:00
parent 917c68c050
commit 09cb3a4e45

View file

@ -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;