From 63d6a244462d050e119bde54a7063bae8a17e987 Mon Sep 17 00:00:00 2001 From: eric thul Date: Fri, 25 Dec 2015 18:41:33 -0500 Subject: Splitting PSC functionality into a separate plugin The loader creates shim modules that reference their corresponding PureScript module that is bundled by the PureScript webpack plugin, which invokes `psc` and `psc-bundle`. Resolves #31 and resolves #32 --- src/PursLoader/Loader.js | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 src/PursLoader/Loader.js (limited to 'src/PursLoader/Loader.js') diff --git a/src/PursLoader/Loader.js b/src/PursLoader/Loader.js deleted file mode 100644 index 45e9c2f..0000000 --- a/src/PursLoader/Loader.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict' - -// module PursLoader.Loader - -var path = require('path'); - -var cwd = process.cwd(); - -function relative(from) { - return function(to){ - return path.relative(from, to); - }; -} - -function joinPath(a) { - return function(b) { - return path.join(a, b); - }; -} - -exports.cwd = cwd; - -exports.relative = relative; - -exports.joinPath = joinPath; - -exports.resolve = path.resolve; - -exports.dirname = path.dirname; -- cgit v1.2.3