From 87145c4d29e9ab45d04c62d19e8697527728549f Mon Sep 17 00:00:00 2001 From: eric thul Date: Tue, 8 Mar 2016 21:58:55 -0500 Subject: Handle optional bundling by the compiler Resolves ethul/purescript-webpack-plugin#9 --- docs/PursLoader/Plugin.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs/PursLoader/Plugin.md') 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 #### `Context` ``` purescript -type Context eff = { compile :: Compile eff -> Eff eff Unit } +type Context eff = { compile :: Compile eff -> Eff eff Unit, options :: Options } +``` + +#### `Options` + +``` purescript +type Options = { bundle :: Boolean, output :: String, bundleOutput :: String } ``` #### `get` -- cgit v1.2.3