@@ -94,19 +94,19 @@ pub fn read(build_state: &mut BuildState) -> CompileAssetsState {
9494 . get ( & build_state. root_config_name )
9595 . expect ( "Could not find root package" ) ;
9696 if let Some ( res_file_path) = res_file_path {
97- let _ = ast_modules. insert (
98- res_file_path. to_owned ( ) ,
99- AstModule {
100- module_name,
101- package_name : package_name. to_owned ( ) ,
102- namespace : package_namespace. to_owned ( ) ,
103- last_modified : last_modified. to_owned ( ) ,
104- ast_file_path,
105- is_root : * package_is_root,
106- suffix : root_package. bsconfig . suffix . to_owned ( ) ,
107- } ,
108- ) ;
109- let _ = ast_rescript_file_locations. insert ( res_file_path) ;
97+ let _ = ast_modules. insert (
98+ res_file_path. to_owned ( ) ,
99+ AstModule {
100+ module_name,
101+ package_name : package_name. to_owned ( ) ,
102+ namespace : package_namespace. to_owned ( ) ,
103+ last_modified : last_modified. to_owned ( ) ,
104+ ast_file_path,
105+ is_root : * package_is_root,
106+ suffix : root_package. bsconfig . suffix . to_owned ( ) ,
107+ } ,
108+ ) ;
109+ let _ = ast_rescript_file_locations. insert ( res_file_path) ;
110110 }
111111 }
112112 "cmi" => {
0 commit comments