You can use import maps with the CLI flag.
Example:
import_map.json
```ts, ignore import { red } from “fmt/colors.ts”;
console.log(red(“hello world”));
To use your project root for absolute imports:
main.ts
This causes import specifiers starting with to be resolved relative to the import map’s URL or file path.