]>
Commit | Line | Data |
---|---|---|
46039343 | 1 | ## Module PursLoader.Plugin |
2 | ||
46039343 | 3 | #### `Compile` |
4 | ||
5 | ``` purescript | |
cb2f4c88 | 6 | type Compile eff = Nullable Error -> DependencyGraph -> String -> Eff eff Unit |
46039343 | 7 | ``` |
8 | ||
9 | #### `Context` | |
10 | ||
11 | ``` purescript | |
87145c4d | 12 | type Context eff = { compile :: Compile eff -> Eff eff Unit, options :: Options } |
46039343 | 13 | ``` |
14 | ||
87145c4d | 15 | #### `Options` |
46039343 | 16 | |
17 | ``` purescript | |
87145c4d | 18 | type Options = { bundle :: Boolean, output :: String, bundleOutput :: String } |
46039343 | 19 | ``` |
20 | ||
21 | #### `dependenciesOf` | |
22 | ||
23 | ``` purescript | |
24 | dependenciesOf :: DependencyGraph -> String -> Either Error (Array String) | |
25 | ``` | |
26 | ||
46039343 | 27 | #### `DependencyGraph` |
28 | ||
29 | ``` purescript | |
30 | data DependencyGraph :: * | |
31 | ``` | |
32 | ||
33 |