aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/PursLoader
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
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')
-rw-r--r--docs/PursLoader/Debug.md9
-rw-r--r--docs/PursLoader/JsStringEscape.md9
-rw-r--r--docs/PursLoader/Loader.md27
-rw-r--r--docs/PursLoader/LoaderRef.md51
-rw-r--r--docs/PursLoader/LoaderUtil.md9
-rw-r--r--docs/PursLoader/Options.md21
-rw-r--r--docs/PursLoader/Path.md27
-rw-r--r--docs/PursLoader/Plugin.md33
8 files changed, 0 insertions, 186 deletions
diff --git a/docs/PursLoader/Debug.md b/docs/PursLoader/Debug.md
deleted file mode 100644
index 824a9f8..0000000
--- a/docs/PursLoader/Debug.md
+++ /dev/null
@@ -1,9 +0,0 @@
1## Module PursLoader.Debug
2
3#### `debug`
4
5``` purescript
6debug :: forall eff. String -> Eff (loader :: Loader | eff) Unit
7```
8
9
diff --git a/docs/PursLoader/JsStringEscape.md b/docs/PursLoader/JsStringEscape.md
deleted file mode 100644
index 09f52aa..0000000
--- a/docs/PursLoader/JsStringEscape.md
+++ /dev/null
@@ -1,9 +0,0 @@
1## Module PursLoader.JsStringEscape
2
3#### `jsStringEscape`
4
5``` purescript
6jsStringEscape :: String -> String
7```
8
9
diff --git a/docs/PursLoader/Loader.md b/docs/PursLoader/Loader.md
deleted file mode 100644
index d05e3b7..0000000
--- a/docs/PursLoader/Loader.md
+++ /dev/null
@@ -1,27 +0,0 @@
1## Module PursLoader.Loader
2
3#### `Effects`
4
5``` purescript
6type Effects eff = (console :: CONSOLE, err :: EXCEPTION | eff)
7```
8
9#### `Effects_`
10
11``` purescript
12type Effects_ eff = Effects (loader :: Loader | eff)
13```
14
15#### `loader`
16
17``` purescript
18loader :: forall eff. LoaderRef -> String -> Eff (Effects_ eff) Unit
19```
20
21#### `loaderFn`
22
23``` purescript
24loaderFn :: forall eff. Fn2 LoaderRef String (Eff (Effects_ eff) Unit)
25```
26
27
diff --git a/docs/PursLoader/LoaderRef.md b/docs/PursLoader/LoaderRef.md
deleted file mode 100644
index 917db3a..0000000
--- a/docs/PursLoader/LoaderRef.md
+++ /dev/null
@@ -1,51 +0,0 @@
1## Module PursLoader.LoaderRef
2
3#### `AsyncCallback`
4
5``` purescript
6type AsyncCallback eff = Maybe Error -> String -> Eff (loader :: Loader | eff) Unit
7```
8
9#### `LoaderRef`
10
11``` purescript
12data LoaderRef
13```
14
15#### `Loader`
16
17``` purescript
18data Loader :: !
19```
20
21#### `async`
22
23``` purescript
24async :: forall eff. LoaderRef -> Eff (loader :: Loader | eff) (Maybe Error -> String -> Eff (loader :: Loader | eff) Unit)
25```
26
27#### `cacheable`
28
29``` purescript
30cacheable :: forall eff. LoaderRef -> Eff (loader :: Loader | eff) Unit
31```
32
33#### `clearDependencies`
34
35``` purescript
36clearDependencies :: forall eff. LoaderRef -> Eff (loader :: Loader | eff) Unit
37```
38
39#### `resourcePath`
40
41``` purescript
42resourcePath :: LoaderRef -> String
43```
44
45#### `addDependency`
46
47``` purescript
48addDependency :: forall eff. LoaderRef -> String -> Eff (loader :: Loader | eff) Unit
49```
50
51
diff --git a/docs/PursLoader/LoaderUtil.md b/docs/PursLoader/LoaderUtil.md
deleted file mode 100644
index 36d6879..0000000
--- a/docs/PursLoader/LoaderUtil.md
+++ /dev/null
@@ -1,9 +0,0 @@
1## Module PursLoader.LoaderUtil
2
3#### `parseQuery`
4
5``` purescript
6parseQuery :: String -> Foreign
7```
8
9
diff --git a/docs/PursLoader/Options.md b/docs/PursLoader/Options.md
deleted file mode 100644
index b3352fc..0000000
--- a/docs/PursLoader/Options.md
+++ /dev/null
@@ -1,21 +0,0 @@
1## Module PursLoader.Options
2
3#### `Options`
4
5``` purescript
6newtype Options
7 = Options { bundleOutput :: String }
8```
9
10##### Instances
11``` purescript
12IsForeign Options
13```
14
15#### `runOptions`
16
17``` purescript
18runOptions :: Options -> Options_
19```
20
21
diff --git a/docs/PursLoader/Path.md b/docs/PursLoader/Path.md
deleted file mode 100644
index cc00436..0000000
--- a/docs/PursLoader/Path.md
+++ /dev/null
@@ -1,27 +0,0 @@
1## Module PursLoader.Path
2
3#### `relative`
4
5``` purescript
6relative :: String -> String -> String
7```
8
9#### `resolve`
10
11``` purescript
12resolve :: String -> String
13```
14
15#### `dirname`
16
17``` purescript
18dirname :: String -> String
19```
20
21#### `joinPath`
22
23``` purescript
24joinPath :: String -> String -> String
25```
26
27
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