Skip to content

Commit b0383bd

Browse files
authored
Bundle stdlib runtime for playground (rescript-lang#7255)
* bundle stdlib JS files for playground * stop uncapitalizing js files in playground imports
1 parent 4a5c3ea commit b0383bd

File tree

6 files changed

+1670
-6
lines changed

6 files changed

+1670
-6
lines changed

compiler/core/js_name_of_module_id.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ let string_of_module_id_in_browser (x : Lam_module_ident.t) =
3131
match x.kind with
3232
| External {name} -> name
3333
| Runtime | Ml ->
34-
"./stdlib/" ^ Ext_string.uncapitalize_ascii x.id.name ^ ".js"
34+
"./stdlib/" ^ x.id.name ^ ".js"
3535

3636
let string_of_module_id
3737
(id : Lam_module_ident.t)

0 commit comments

Comments
 (0)