diff options
author | eric thul <thul.eric@gmail.com> | 2015-05-14 22:13:59 -0400 |
---|---|---|
committer | eric thul <thul.eric@gmail.com> | 2015-05-14 22:13:59 -0400 |
commit | a72c8af19a72186069465c139b72df9c353fd3d1 (patch) | |
tree | ecb69055fe7b668b99d49153c12c729938ed08dc /MODULE.md | |
parent | a8b2571ee98ccd640a39873f8a9d67c707f336fe (diff) | |
download | purs-loader-a72c8af19a72186069465c139b72df9c353fd3d1.tar.gz purs-loader-a72c8af19a72186069465c139b72df9c353fd3d1.tar.zst purs-loader-a72c8af19a72186069465c139b72df9c353fd3d1.zip |
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
Diffstat (limited to 'MODULE.md')
-rw-r--r-- | MODULE.md | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -177,6 +177,20 @@ instance isForeignOptions :: IsForeign Options | |||
177 | ``` | 177 | ``` |
178 | 178 | ||
179 | 179 | ||
180 | #### `booleanLoaderOption` | ||
181 | |||
182 | ``` purescript | ||
183 | instance booleanLoaderOption :: LoaderOption Boolean | ||
184 | ``` | ||
185 | |||
186 | |||
187 | #### `stringLoaderOption` | ||
188 | |||
189 | ``` purescript | ||
190 | instance stringLoaderOption :: LoaderOption String | ||
191 | ``` | ||
192 | |||
193 | |||
180 | #### `pscMakeOutputOption` | 194 | #### `pscMakeOutputOption` |
181 | 195 | ||
182 | ``` purescript | 196 | ``` purescript |
@@ -191,6 +205,13 @@ pscMakeOptions :: Foreign -> [String] | |||
191 | ``` | 205 | ``` |
192 | 206 | ||
193 | 207 | ||
208 | #### `loaderSrcOption` | ||
209 | |||
210 | ``` purescript | ||
211 | loaderSrcOption :: Foreign -> Maybe [String] | ||
212 | ``` | ||
213 | |||
214 | |||
194 | 215 | ||
195 | ## Module PursLoader.Path | 216 | ## Module PursLoader.Path |
196 | 217 | ||