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
+8-21
Original file line number
Diff line number
Diff line change
@@ -44,10 +44,6 @@ Invokes the `psc` command. The following options are supported.
44
44
45
45
Files to compile. Glob syntax is supported.
46
46
47
-
###### `ffi` (String or String Array)
48
-
49
-
Files for code that is included with a `foreign import` in the PureScript source. Glob syntax is supported.
50
-
51
47
###### `noTco` (Boolean)
52
48
53
49
Toggles `--no-tco` that disables tail-call optimizations.
@@ -76,9 +72,13 @@ Sets `--output=<string>` the specifies the output directory, `output` by default
76
72
77
73
Toggles `--no-prefix` that does not include the comment header.
78
74
79
-
###### `requirePath` (String)
75
+
###### `sourceMaps` (Boolean)
76
+
77
+
Toggles `--source-maps` that generates source maps.
80
78
81
-
Sets `--require-path=<string>` that specifies the path prefix to use for `require()` calls in the generated JavaScript.
79
+
###### `jsonErrors` (Boolean)
80
+
81
+
Toggles `--json-errors` that prints errors to stderr as JSON.
82
82
83
83
### `purescript.pscBundle(options)`
84
84
@@ -104,10 +104,6 @@ Toggles `--main` or sets `--main=<string>` that generates code to run the `main`
104
104
105
105
Sets `--namespace=<string>` that specifies the namespace that PureScript modules will be exported to when running in the browser.
106
106
107
-
###### `requirePath` (String)
108
-
109
-
Sets `--require-path=<string>` that specifies the path prefix to use for `require()` calls in the generated JavaScript. This should be set to match any value used in the `psc` task.
110
-
111
107
### `purescript.pscDocs(options)`
112
108
113
109
Invokes the `psc-docs` command. The following options are supported.
@@ -136,10 +132,6 @@ Generates a `.psci` file.
136
132
137
133
Files added to the `.psci` file with the `:m` command. Glob syntax is supported.
138
134
139
-
###### `ffi` (String or String Array)
140
-
141
-
Files added to the `.psci` file with the `:f` command. Glob syntax is supported.
142
-
143
135
## Full example
144
136
145
137
This example will make and bundle the code, run tests, and produce a `.psci` file and documentation for a project using the common `bower_components`/`src` file layout.
0 commit comments