aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PursLoader/Loader.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/PursLoader/Loader.js')
-rw-r--r--src/PursLoader/Loader.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/PursLoader/Loader.js b/src/PursLoader/Loader.js
new file mode 100644
index 0000000..98459b6
--- /dev/null
+++ b/src/PursLoader/Loader.js
@@ -0,0 +1,19 @@
1'use strict'
2
3// module PursLoader.Loader
4
5var path = require('path');
6
7var cwd = process.cwd();
8
9function relative(from) {
10 return function(to){
11 return path.relative(from, to);
12 };
13}
14
15exports.cwd = cwd;
16
17exports.relative = relative;
18
19exports.resolve = path.resolve;