From a72c8af19a72186069465c139b72df9c353fd3d1 Mon Sep 17 00:00:00 2001 From: eric thul Date: Thu, 14 May 2015 22:13:59 -0400 Subject: Additional loader options Adds the `psc-make` options `comments` and `no-prefix`. Also, an internal option `src` has been added that is used to specify the source paths of `PureScript` files that will be globbed for compilation. By default the `bower_components` path is globbed, but the loader requires that the source paths be provided for the user's code. Resolves #12 --- MODULE.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'MODULE.md') diff --git a/MODULE.md b/MODULE.md index 39d9d3a..2d54719 100644 --- a/MODULE.md +++ b/MODULE.md @@ -177,6 +177,20 @@ instance isForeignOptions :: IsForeign Options ``` +#### `booleanLoaderOption` + +``` purescript +instance booleanLoaderOption :: LoaderOption Boolean +``` + + +#### `stringLoaderOption` + +``` purescript +instance stringLoaderOption :: LoaderOption String +``` + + #### `pscMakeOutputOption` ``` purescript @@ -191,6 +205,13 @@ pscMakeOptions :: Foreign -> [String] ``` +#### `loaderSrcOption` + +``` purescript +loaderSrcOption :: Foreign -> Maybe [String] +``` + + ## Module PursLoader.Path -- cgit v1.2.3