We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdc8c1a commit 80a0911Copy full SHA for 80a0911
jscomp/core/lam_compile_primitive.ml
@@ -114,7 +114,7 @@ let translate output_prefix module_system loc (cxt : Lam_compile_context.t)
114
match module_of_expression e.expression_desc with
115
| [ module_ ] -> module_
116
| _ -> Location.raise_errorf ~loc
117
- "Invalid argument: Dynamic import requires a module or a module value as its argument. Passing a value or local module is not allowed."
+ "Invalid argument: Dynamic import requires a module or module value that is a file as argument. Passing a value or local module is not allowed."
118
in
119
120
let path =
0 commit comments