cil: removed dead code in node transform

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-12-26 21:44:19 +01:00
parent c1775a1b3c
commit e6c049add0
@@ -69,11 +69,6 @@ export async function resolve(specifier, context, nextResolve) {
return withDetectedModuleType(await nextResolve(specifier, context));
}
// Imports with exact file extensions are handled by the default resolver
// if (ext !== '') {
// return withDetectedModuleType(await nextResolve(specifier, context));
// }
// The rest of this function handles the case of resolving imports that do not
// specify any extension and might point to a directory with an `index.*`
// file. We resolve those using the same logic as most JS bundlers would, with