diff options
author | Alex Mingoia <talk@alexmingoia.com> | 2016-05-10 00:09:28 -0700 |
---|---|---|
committer | Alex Mingoia <talk@alexmingoia.com> | 2016-05-10 00:09:28 -0700 |
commit | 7de41f10b4ff0f0d6b45d59bee0f166c3cfe3f9f (patch) | |
tree | 9ee160ba5b7dab900ccd1cfa657760e4103a175e /docs/PursLoader/LoaderRef.md | |
parent | 777472b3830cb3d2ff3390003ea422c6d4522715 (diff) | |
download | purs-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/LoaderRef.md')
-rw-r--r-- | docs/PursLoader/LoaderRef.md | 51 |
1 files changed, 0 insertions, 51 deletions
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 | ||
6 | type AsyncCallback eff = Maybe Error -> String -> Eff (loader :: Loader | eff) Unit | ||
7 | ``` | ||
8 | |||
9 | #### `LoaderRef` | ||
10 | |||
11 | ``` purescript | ||
12 | data LoaderRef | ||
13 | ``` | ||
14 | |||
15 | #### `Loader` | ||
16 | |||
17 | ``` purescript | ||
18 | data Loader :: ! | ||
19 | ``` | ||
20 | |||
21 | #### `async` | ||
22 | |||
23 | ``` purescript | ||
24 | async :: forall eff. LoaderRef -> Eff (loader :: Loader | eff) (Maybe Error -> String -> Eff (loader :: Loader | eff) Unit) | ||
25 | ``` | ||
26 | |||
27 | #### `cacheable` | ||
28 | |||
29 | ``` purescript | ||
30 | cacheable :: forall eff. LoaderRef -> Eff (loader :: Loader | eff) Unit | ||
31 | ``` | ||
32 | |||
33 | #### `clearDependencies` | ||
34 | |||
35 | ``` purescript | ||
36 | clearDependencies :: forall eff. LoaderRef -> Eff (loader :: Loader | eff) Unit | ||
37 | ``` | ||
38 | |||
39 | #### `resourcePath` | ||
40 | |||
41 | ``` purescript | ||
42 | resourcePath :: LoaderRef -> String | ||
43 | ``` | ||
44 | |||
45 | #### `addDependency` | ||
46 | |||
47 | ``` purescript | ||
48 | addDependency :: forall eff. LoaderRef -> String -> Eff (loader :: Loader | eff) Unit | ||
49 | ``` | ||
50 | |||
51 | |||