aboutsummaryrefslogblamecommitdiffhomepage
path: root/docs/PursLoader/Plugin.md
blob: 7a524da94a35cb48427d623cbb504b72f05af176 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                           


              
                                                                    




              
                                                                                 

   
              

              
                                                                              







                                                                          






                         
## Module PursLoader.Plugin

#### `Compile`

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