Skip to content

Commit 2721d8d

Browse files
authored
Merge pull request #2679 from chenglou/aaa
[Repl] Add +weak.js back into exports.js
2 parents 10b1384 + 209bace commit 2721d8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jscomp/repl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ var cmi_files =
118118
`belt_HashMapInt`,
119119
`belt_HashMapString`,
120120
].map(x => `${x}.cmi:/static/cmis/${x}.cmi`).map(x => `--file ${x}`).join(` `)
121-
e(`js_of_ocaml --disable share --toplevel ./polyfill.js jsc.byte ${includes} ${cmi_files} -o ${playground}/exports.js`)
121+
e(`js_of_ocaml --disable share --toplevel +weak.js ./polyfill.js jsc.byte ${includes} ${cmi_files} -o ${playground}/exports.js`)
122122

123123

124124

0 commit comments

Comments
 (0)