Skip to content

Commit 9fa1e10

Browse files
committed
clean up
1 parent d68be28 commit 9fa1e10

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

jscomp/bin/bsb.ml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8078,15 +8078,7 @@ let handle_file_group oc ~package_specs ~js_post_build_cmd acc (group: Bsb_buil
80788078
let output_js =
80798079
String_set.fold (fun s acc ->
80808080
Bsb_config.package_output ~format:s (output_file_sans_extension ^ Literals.suffix_js)
8081-
(* let prefix =
8082-
if s = Literals.commonjs then
8083-
Bsb_config.common_js_prefix
8084-
else if s = Literals.amdjs then
8085-
Bsb_config.amd_js_prefix
8086-
else Bsb_config.goog_prefix
8087-
in
8088-
(Bsb_config.proj_rel @@ prefix
8089-
output_file_sans_extension ^ Literals.suffix_js) *) :: acc
8081+
:: acc
80908082
) package_specs []
80918083
in
80928084
(* let output_mldeps = output_file_sans_extension ^ Literals.suffix_mldeps in *)

jscomp/bsb/bsb_ninja.ml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -323,15 +323,7 @@ let handle_file_group oc ~package_specs ~js_post_build_cmd acc (group: Bsb_buil
323323
let output_js =
324324
String_set.fold (fun s acc ->
325325
Bsb_config.package_output ~format:s (output_file_sans_extension ^ Literals.suffix_js)
326-
(* let prefix =
327-
if s = Literals.commonjs then
328-
Bsb_config.common_js_prefix
329-
else if s = Literals.amdjs then
330-
Bsb_config.amd_js_prefix
331-
else Bsb_config.goog_prefix
332-
in
333-
(Bsb_config.proj_rel @@ prefix
334-
output_file_sans_extension ^ Literals.suffix_js) *) :: acc
326+
:: acc
335327
) package_specs []
336328
in
337329
(* let output_mldeps = output_file_sans_extension ^ Literals.suffix_mldeps in *)

0 commit comments

Comments
 (0)