]> git.immae.eu Git - github/fretlink/purs-loader.git/blob - docs/PursLoader/Plugin.md
Handling dependencies
[github/fretlink/purs-loader.git] / docs / PursLoader / Plugin.md
1 ## Module PursLoader.Plugin
2
3 #### `Compile`
4
5 ``` purescript
6 type Compile eff = Nullable Error -> DependencyGraph -> Eff eff Unit
7 ```
8
9 #### `Context`
10
11 ``` purescript
12 type Context eff = { compile :: Compile eff -> Eff eff Unit, options :: Options }
13 ```
14
15 #### `Options`
16
17 ``` purescript
18 type Options = { bundle :: Boolean, output :: String, bundleOutput :: String }
19 ```
20
21 #### `dependenciesOf`
22
23 ``` purescript
24 dependenciesOf :: DependencyGraph -> String -> Either Error (Array String)
25 ```
26
27 #### `DependencyGraph`
28
29 ``` purescript
30 data DependencyGraph :: *
31 ```
32
33