mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-24 09:48:28 +02:00
Fix
This commit is contained in:
@@ -90,7 +90,7 @@ impl deno_core::ModuleLoader for TsModuleLoader {
|
|||||||
| MediaType::Dcts
|
| MediaType::Dcts
|
||||||
| MediaType::Tsx => (ModuleType::JavaScript, true),
|
| MediaType::Tsx => (ModuleType::JavaScript, true),
|
||||||
MediaType::Json => (ModuleType::Json, false),
|
MediaType::Json => (ModuleType::Json, false),
|
||||||
_ => panic!("Unknown extension {:?}", path),
|
_ => panic!("Unknown extension {:?}", path.extension()),
|
||||||
};
|
};
|
||||||
|
|
||||||
// Read the file, transpile if necessary.
|
// Read the file, transpile if necessary.
|
||||||
|
|||||||
Reference in New Issue
Block a user