mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
parent
d54ef02dfe
commit
8829a1d362
10 changed files with 127 additions and 121 deletions
|
@ -201,6 +201,9 @@ impl ModuleLoader for EmbeddedModuleLoader {
|
|||
match module.kind {
|
||||
eszip::ModuleKind::JavaScript => ModuleType::JavaScript,
|
||||
eszip::ModuleKind::Json => ModuleType::Json,
|
||||
eszip::ModuleKind::Jsonc => {
|
||||
return Err(type_error("jsonc modules not supported"))
|
||||
}
|
||||
},
|
||||
code,
|
||||
&module_specifier,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue