Don't minify as much with js_of_ocaml to workaround Webpack bug

This commit is contained in:
Denis Merigoux 2022-08-16 19:11:58 +02:00
parent 331789bfee
commit c36f6b683b
No known key found for this signature in database
GPG Key ID: EE99DCFA365C3EE3
2 changed files with 7882 additions and 7877 deletions

15754
french_law/js/french_law.js generated

File diff suppressed because one or more lines are too long

View File

@ -11,6 +11,11 @@
(:standard \ bench api))
(preprocess
(pps js_of_ocaml-ppx))
(js_of_ocaml
(flags --disable=shortvar --opt 3))
; We need to disable shortvar because
; otherwise Webpack wrongly minifies
; the library and it gives bugs.
(libraries
catala.runtime_ocaml
catala.runtime_jsoo