aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PursLoader/LoaderUtil.purs
diff options
context:
space:
mode:
Diffstat (limited to 'src/PursLoader/LoaderUtil.purs')
-rw-r--r--src/PursLoader/LoaderUtil.purs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/PursLoader/LoaderUtil.purs b/src/PursLoader/LoaderUtil.purs
new file mode 100644
index 0000000..86be124
--- /dev/null
+++ b/src/PursLoader/LoaderUtil.purs
@@ -0,0 +1,13 @@
1module PursLoader.LoaderUtil
2 ( parseQuery
3 ) where
4
5import Data.Foreign (Foreign())
6
7import PursLoader.LoaderRef (LoaderRef())
8
9foreign import parseQuery """
10function parseQuery(query){
11 var loaderUtils = require('loader-utils');
12 return loaderUtils.parseQuery(query);
13}""" :: String -> Foreign