Skip to content

Commit 6c6f2cf

Browse files
committed
Maybe this fixed something
1 parent e22f5bb commit 6c6f2cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/core/lam_compile_main.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ let lambda_as_module
309309
- For rewatch: path already contains full directory from file_path.parent()
310310
- basename is the final filename *)
311311
let target_file =
312-
if path = "." || path = "lib/bs" || path = "lib/es6" || path = "lib/es6-global" then
312+
if path = "." || path = "lib/bs" || path = "lib/js" || path = "lib/es6" || path = "lib/es6-global" then
313313
(* Legacy bsb mode: path is base dir, extract source subdir from output_prefix *)
314314
let source_subdir = Filename.dirname output_prefix in
315315
(* When source_subdir is ".", don't include it in the path to avoid "././" *)

0 commit comments

Comments
 (0)