aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PursLoader/Path.js
diff options
context:
space:
mode:
authoreric <thul.eric@gmail.com>2016-05-21 22:44:27 -0400
committereric <thul.eric@gmail.com>2016-05-21 22:44:27 -0400
commitd301b47d8fb7139d11f59c5d969bdde6132a8230 (patch)
tree10a7677d88c750b360f141b2e9d5ca095e01ab4c /src/PursLoader/Path.js
parent777472b3830cb3d2ff3390003ea422c6d4522715 (diff)
parent17acb575860cf1bed9e1f6d992a9b7cd66057464 (diff)
downloadpurs-loader-d301b47d8fb7139d11f59c5d969bdde6132a8230.tar.gz
purs-loader-d301b47d8fb7139d11f59c5d969bdde6132a8230.tar.zst
purs-loader-d301b47d8fb7139d11f59c5d969bdde6132a8230.zip
Merge pull request #47 from alexmingoia/topic/refactor
Refactor to compile independently of purescript-webpack-plugin.
Diffstat (limited to 'src/PursLoader/Path.js')
-rw-r--r--src/PursLoader/Path.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/PursLoader/Path.js b/src/PursLoader/Path.js
deleted file mode 100644
index 878f256..0000000
--- a/src/PursLoader/Path.js
+++ /dev/null
@@ -1,24 +0,0 @@
1'use strict'
2
3// module PursLoader.Path
4
5var path = require('path');
6
7function relative(from) {
8 return function(to){
9 return path.relative(from, to);
10 };
11}
12exports.relative = relative;
13
14
15function joinPath(a) {
16 return function(b) {
17 return path.join(a, b);
18 };
19}
20exports.joinPath = joinPath;
21
22exports.resolve = path.resolve;
23
24exports.dirname = path.dirname;