You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+7-1
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,8 @@ There is also [a more complete example](#full-example) that makes use of all the
34
34
35
35
Refer to the PureScript [compiler usage](https://github.com/purescript/purescript/wiki/Language-Guide:-Getting-Started#compiler-usage) section of the Github wiki for additional details on the behaviour of each option below.
36
36
37
+
Options can be passed to the Haskell runtime system for `psc` by passing a `--psc-rts-opts` argument to `gulp`. Any values that follow this flag will be passed through to the runtime. There is no need to include `+RTS`/`-RTS` options as these are inserted automatically. See [the GHC documentation](https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/runtime-control.html#rts-opts-cmdline) for information on the available RTS options.
38
+
37
39
### `purescript.psc(options)`
38
40
39
41
Invokes the `psc` command. The following options are supported.
@@ -74,6 +76,10 @@ Sets `--output=<string>` the specifies the output directory, `output` by default
74
76
75
77
Toggles `--no-prefix` that does not include the comment header.
76
78
79
+
###### `requirePath` (String)
80
+
81
+
Sets `--require-path=<string>` that specifies the path prefix to use for `require()` calls in the generated JavaScript.
82
+
77
83
### `purescript.pscBundle(options)`
78
84
79
85
Invokes the `psc-bundle` command. The following options are supported.
@@ -100,7 +106,7 @@ Sets `--namespace=<string>` that specifies the namespace that PureScript modules
100
106
101
107
###### `requirePath` (String)
102
108
103
-
Sets `--require-path=<string>` that specifies the path prefix to use for `require()` calls in the generated JavaScript.
109
+
Sets `--require-path=<string>` that specifies the path prefix to use for `require()` calls in the generated JavaScript. This should be set any value used in the `psc` task.
0 commit comments