blob: 26e3f26f26ad5cd5bfcc8cb2321e4bd5b495aa9d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
## Module PursLoader.Plugin
#### `Result`
``` purescript
type Result = { srcMap :: ImmutableMap String String, ffiMap :: ImmutableMap String String, graph :: DependencyGraph }
```
#### `Compile`
``` purescript
type Compile eff = Nullable Error -> Result -> Eff eff Unit
```
#### `Context`
``` purescript
type Context eff = { compile :: Compile eff -> Eff eff Unit, options :: Options }
```
#### `Options`
``` purescript
type Options = { bundle :: Boolean, output :: String, bundleOutput :: String }
```
#### `get`
``` purescript
get :: forall key value. ImmutableMap key value -> key -> Maybe value
```
#### `dependenciesOf`
``` purescript
dependenciesOf :: DependencyGraph -> String -> Either Error (Array String)
```
#### `ImmutableMap`
``` purescript
data ImmutableMap :: * -> * -> *
```
#### `DependencyGraph`
``` purescript
data DependencyGraph :: *
```
|