aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/PursLoader/Plugin.md
diff options
context:
space:
mode:
authorAlex Mingoia <talk@alexmingoia.com>2016-05-10 00:09:28 -0700
committerAlex Mingoia <talk@alexmingoia.com>2016-05-10 00:09:28 -0700
commit7de41f10b4ff0f0d6b45d59bee0f166c3cfe3f9f (patch)
tree9ee160ba5b7dab900ccd1cfa657760e4103a175e /docs/PursLoader/Plugin.md
parent777472b3830cb3d2ff3390003ea422c6d4522715 (diff)
downloadpurs-loader-7de41f10b4ff0f0d6b45d59bee0f166c3cfe3f9f.tar.gz
purs-loader-7de41f10b4ff0f0d6b45d59bee0f166c3cfe3f9f.tar.zst
purs-loader-7de41f10b4ff0f0d6b45d59bee0f166c3cfe3f9f.zip
Refactor to compile independently of purescript-webpack-plugin.
- Remove dependence on purescript-webpack-plugin - Fixes double-compilation issue by loading compiled JS instead of adding dependency. - Uses `psc-ide-server` for fast rebuilds.
Diffstat (limited to 'docs/PursLoader/Plugin.md')
-rw-r--r--docs/PursLoader/Plugin.md33
1 files changed, 0 insertions, 33 deletions
diff --git a/docs/PursLoader/Plugin.md b/docs/PursLoader/Plugin.md
deleted file mode 100644
index 7a524da..0000000
--- a/docs/PursLoader/Plugin.md
+++ /dev/null
@@ -1,33 +0,0 @@
1## Module PursLoader.Plugin
2
3#### `Compile`
4
5``` purescript
6type Compile eff = Nullable Error -> DependencyGraph -> Eff eff Unit
7```
8
9#### `Context`
10
11``` purescript
12type Context eff = { compile :: Compile eff -> Eff eff Unit, options :: Options }
13```
14
15#### `Options`
16
17``` purescript
18type Options = { bundle :: Boolean, output :: String, bundleOutput :: String }
19```
20
21#### `dependenciesOf`
22
23``` purescript
24dependenciesOf :: DependencyGraph -> String -> Either Error (Array String)
25```
26
27#### `DependencyGraph`
28
29``` purescript
30data DependencyGraph :: *
31```
32
33