Open
Description
When using custom TypeScript paths the import is completely ignored (and therefore ESM invalid):
import { hello } from "@/world"; // IGNORED!
import { test } from "@/world/wow" // IGNORED!
Correct behaviour:
import { hello } from "@/world/index.js";
import { test } from "@/world/wow.js"
There is the need to understand if the import path points to a folder or a file and then apply the corresponding logic.
Metadata
Metadata
Assignees
Labels
No labels