Skip to content

Commit 097a7ca

Browse files
committed
feat: add gentype arg to compiler args
1 parent c03dc12 commit 097a7ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/build/compile.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ pub fn compiler_args(
434434
let jsx_module_args = root_config.get_jsx_module_args();
435435
let jsx_mode_args = root_config.get_jsx_mode_args();
436436
let uncurried_args = root_config.get_uncurried_args(version);
437+
let gentype_arg = root_config.get_gentype_arg();
437438

438439
let warning_args: Vec<String> = match config.warnings.to_owned() {
439440
None => vec![],
@@ -494,6 +495,7 @@ pub fn compiler_args(
494495
read_cmi_args,
495496
vec!["-I".to_string(), ".".to_string()],
496497
deps.concat(),
498+
gentype_arg,
497499
jsx_args,
498500
jsx_module_args,
499501
jsx_mode_args,

0 commit comments

Comments
 (0)