aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/PursLoader/Plugin.md
blob: 9f9f8520a2a3153db654d567be63a6e0722ab1bf (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
## Module PursLoader.Plugin

#### `Compile`

``` purescript
type Compile eff = Nullable Error -> DependencyGraph -> String -> 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 }
```

#### `dependenciesOf`

``` purescript
dependenciesOf :: DependencyGraph -> String -> Either Error (Array String)
```

#### `DependencyGraph`

``` purescript
data DependencyGraph :: *
```