mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-15 05:08:41 -09:00
expose paths to renderer
This commit is contained in:
parent
917c68c050
commit
09cb3a4e45
1 changed files with 6 additions and 0 deletions
|
|
@ -204,8 +204,14 @@ function getPaths () {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// expose to renderer
|
||||||
exports.getPaths = getPaths;
|
exports.getPaths = getPaths;
|
||||||
|
|
||||||
|
// get paths from renderer
|
||||||
|
exports.getBasePaths = function () {
|
||||||
|
return { path, localPath };
|
||||||
|
};
|
||||||
|
|
||||||
function requirePlugins () {
|
function requirePlugins () {
|
||||||
const { plugins, localPlugins } = paths;
|
const { plugins, localPlugins } = paths;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue