aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LoaderUtil.purs
blob: 86be124521ccf816f0d1670a5acbaec74d3103b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
module PursLoader.LoaderUtil
  ( parseQuery
  ) where

import Data.Foreign (Foreign())

import PursLoader.LoaderRef (LoaderRef())

foreign import parseQuery """
function parseQuery(query){
  var loaderUtils = require('loader-utils');
  return loaderUtils.parseQuery(query);
}""" :: String -> Foreign