Open
Description
It is common to use the @/
alias in Next.js. When using the CLI, the tsconfig is usually changed to update the alias to point to source
instead of src
.
Today, this means that any @/
import in the src/
folder will resolve to the uncompiled files in source
and cause runtime errors.
We should rewrite aliases as part of the CLI to avoid dealing with this problem manually.
referece: #844