Open
Description
My rewatch / ReScript 12 test project has rescript-webapi
as a dependency. rescript-webapi
has the following settings in its bsconfig.json
:
"warnings": {
"number": "+A",
"error": "+A"
},
When building with rescript/bsb, these settings seem to be ignored. My project builds and I don't see any warnings for rescript-webapi
at all.
However, when building with rewatch, these settings seem to be applied, and my project does not build:
Warning number 3 (configured as error)
/Users/christoph/projects/cca/inform4/node_modules/rescript-webapi/src/Webapi/Dom/Webapi__Dom__Types.res:80:10-14
78 ┆ | 1 => Line
79 ┆ | 2 => Page
80 ┆ | _ => raise(Invalid_argument("invalid deltaMode"))
81 ┆ }
82 ┆
deprecated: Pervasives.raise
`raise` has been renamed to `throw` to align with JavaScript vocabulary. Please use `throw` instead
(etc.)