tsconfig paths support?
seonglae opened this issue · comments
Alan Jo commented
I'm not sure that this module is trying to make compatible with tsconfig.json
When I use esmo, I got some error like this
esmo ./folder/file.ts
My tsconfig.json
{
"paths": {
"@/*": ["./src/*"],
"~/*": ["./*"]
}
}
Because there is
import { func } from '@/module'
This error occurs
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@/parsers' imported from
Is there a plan to resolve this issue or support usage like this?
Anthony Fu commented
Good catch, PR Welcome.