We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b6788e commit c9488bbCopy full SHA for c9488bb
compiler/lib/js_output.ml
@@ -2162,8 +2162,7 @@ let program ?(accept_unnamed_var = false) f ?source_map p =
2162
in
2163
let ignore_list =
2164
List.filter sources ~f:(fun filename ->
2165
- String.length filename >= 9
2166
- && String.equal (String.sub filename ~pos:0 ~len:9) "/builtin/")
+ String.is_prefix ~prefix:"/builtin/" filename)
2167
2168
let sm_mappings = Source_map.Mappings.decode sm.mappings in
2169
let relocate pos m =
0 commit comments