aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PursLoader/Loader.purs
diff options
context:
space:
mode:
Diffstat (limited to 'src/PursLoader/Loader.purs')
-rw-r--r--src/PursLoader/Loader.purs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PursLoader/Loader.purs b/src/PursLoader/Loader.purs
index 0cd077d..affce53 100644
--- a/src/PursLoader/Loader.purs
+++ b/src/PursLoader/Loader.purs
@@ -54,7 +54,7 @@ loader ref source = do
54 54
55 resourceDir = dirname (resourcePath ref) 55 resourceDir = dirname (resourcePath ref)
56 56
57 modulePath = (\opts -> relative resourceDir opts.pscBundle) <$> options 57 modulePath = (\opts -> relative resourceDir opts.bundleOutput) <$> options
58 58
59 result = (\path name -> "module.exports = require('" ++ path ++ "')['" ++ name ++ "'];") <$> modulePath <*> moduleName 59 result = (\path name -> "module.exports = require('" ++ path ++ "')['" ++ name ++ "'];") <$> modulePath <*> moduleName
60 60