]> git.immae.eu Git - github/fretlink/purs-loader.git/blob - README.md
Updating README
[github/fretlink/purs-loader.git] / README.md
1 # purs-loader
2
3 > [PureScript](http://www.purescript.org) loader for [webpack](http://webpack.github.io)
4
5 ## Install
6
7 Install with [npm](https://npmjs.org/package/purs-loader)
8
9 ```
10 npm install purs-loader --save-dev
11 ```
12
13 ## Options
14
15 - **no-prelude**: Boolean value that toggles `--no-prelude`
16 - Do not include the Prelude in the generated Javascript.
17 - **no-opts**: Boolean value that toggles `--no-opts`
18 - Disable all optimizations.
19 - **no-magic-do**: Boolean value that toggles `--no-magic-do`
20 - Turn off optimizations which inline calls to >>= for the Eff monad.
21 - **no-tco**: Boolean value that toggles `--no-tco`
22 - Turn off tail-call elimination.
23 - **verbose-errors**: Boolean value that toggles `--verbose-errors`
24 - Generate verbose error messages.
25 - **output**: String value that sets `--output=<string>`
26 - Write the generated Javascript to the specified file.
27
28 ## Example
29
30 See the [example](https://github.com/ethul/purs-loader/tree/topic/bower-components/example) directory for a complete example.