javi
javi3mo ago

Sloppy imports on remote?

Is there any way to enable sloppy imports for the own imports on a remote (such as GitHub?). Trying to use some node code on deno, yet imports cannot be resolved since they're missing the extension.
error: Module not found "https://raw.githubusercontent.com/drips-network/app/fcad99122daed83e29ebb6f2637b3c67aee17a04/src/lib/components/stepper/types".
at https://raw.githubusercontent.com/drips-network/app/fcad99122daed83e29ebb6f2637b3c67aee17a04/src/lib/flows/create-drip-list-flow/create-drip-list-flow.ts:1:26
error: Module not found "https://raw.githubusercontent.com/drips-network/app/fcad99122daed83e29ebb6f2637b3c67aee17a04/src/lib/components/stepper/types".
at https://raw.githubusercontent.com/drips-network/app/fcad99122daed83e29ebb6f2637b3c67aee17a04/src/lib/flows/create-drip-list-flow/create-drip-list-flow.ts:1:26
1 Reply
bartlomieju
bartlomieju3mo ago
Sloppy imports only work for local files, probing for various extensions in remote files is not really feasible

Did you find this page helpful?