You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bsb_exception.errorf ~loc:(Ext_json.loc_of x) "expect a string field"
109
116
|None -> suffix in
110
117
{format = supported_format format loc ; in_source ; suffix}
111
-
|Arr_ ->
112
-
Bsb_exception.errorf ~loc
113
-
"package-specs: when the configuration is an object, `module` field should be a string, not an array. If you want to pass multiple module specs, try turning package-specs into an array of objects (or strings) instead."
114
-
|_ ->
118
+
|Some_ ->
115
119
Bsb_exception.errorf ~loc
116
-
"package-specs: the `module` field of the configuration object should be a string."
117
-
|exception_ ->
120
+
"package-specs: when the configuration is an object, `module` field should be a string, not an array. If you want to pass multiple module specs, try turning package-specs into an array of objects (or strings) instead."
121
+
|None ->
118
122
Bsb_exception.errorf ~loc
119
123
"package-specs: when the configuration is an object, the `module` field is mandatory."
120
124
end
@@ -144,12 +148,16 @@ let package_flag ({format; in_source; suffix } : spec) dir =
0 commit comments