Skip to content

Commit 745fcd6

Browse files
author
Florian Verdonck
committed
Add examples of bsc flags I use
1 parent b6cebb3 commit 745fcd6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pages/docs/manual/latest/build-configuration.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ The warning numbers are shown in the build output when they're triggered. See [W
192192

193193
Extra flags to pass to the compiler. For advanced usages.
194194

195+
- `-open ABC` opens the module `ABC` for each file in the project.
196+
- `-w -45` enable or disable certain compiler warnings. In this example, `-45` means to disable warning number 45.
197+
195198
## gentypeconfig
196199

197200
To enable genType, set `"gentypeconfig"` at top level in the project's `rescript.json`.

0 commit comments

Comments
 (0)