Skip to content

Commit 862f09b

Browse files
authored
Switch to a proper way to pop up warnings as errors (#4)
see discussions in rescript-lang/rescript#4789
1 parent 93c948b commit 862f09b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
"subdirs": false
1616
}
1717
],
18-
"bsc-flags": ["-bs-no-version-header", "-warn-error @a"],
18+
"bsc-flags": ["-bs-no-version-header"],
19+
"warnings" : {
20+
"error" : true
21+
},
1922
"bs-dependencies": ["reason-react", "reason-react-native"]
2023
}

0 commit comments

Comments
 (0)