diff options
author | eric thul <thul.eric@gmail.com> | 2016-03-08 21:58:55 -0500 |
---|---|---|
committer | eric thul <thul.eric@gmail.com> | 2016-03-08 22:01:40 -0500 |
commit | 87145c4d29e9ab45d04c62d19e8697527728549f (patch) | |
tree | 35bc21658cebc370f2d0aecee13a2188602bfd80 /docs/PursLoader | |
parent | 17f22f868b851e50081844562627a7a8a414dcaa (diff) | |
download | purs-loader-87145c4d29e9ab45d04c62d19e8697527728549f.tar.gz purs-loader-87145c4d29e9ab45d04c62d19e8697527728549f.tar.zst purs-loader-87145c4d29e9ab45d04c62d19e8697527728549f.zip |
Handle optional bundling by the compiler
Resolves ethul/purescript-webpack-plugin#9
Diffstat (limited to 'docs/PursLoader')
-rw-r--r-- | docs/PursLoader/Plugin.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/PursLoader/Plugin.md b/docs/PursLoader/Plugin.md index 9abec4d..26e3f26 100644 --- a/docs/PursLoader/Plugin.md +++ b/docs/PursLoader/Plugin.md | |||
@@ -15,7 +15,13 @@ type Compile eff = Nullable Error -> Result -> Eff eff Unit | |||
15 | #### `Context` | 15 | #### `Context` |
16 | 16 | ||
17 | ``` purescript | 17 | ``` purescript |
18 | type Context eff = { compile :: Compile eff -> Eff eff Unit } | 18 | type Context eff = { compile :: Compile eff -> Eff eff Unit, options :: Options } |
19 | ``` | ||
20 | |||
21 | #### `Options` | ||
22 | |||
23 | ``` purescript | ||
24 | type Options = { bundle :: Boolean, output :: String, bundleOutput :: String } | ||
19 | ``` | 25 | ``` |
20 | 26 | ||
21 | #### `get` | 27 | #### `get` |