MelodyMaker
MelodyMaker
DDeno
Created by MelodyMaker on 8/30/2024 in #help
How to resolve an import statement in Deno
Hi, I am testing out Deno, but cannot get it to resolve imports. For example, how would I get Deno to resolve this import statement... import { readFileTxt } from '@root/db_fs/src/utilReadFiles'; Notice two things... 1) the "@root" should resolve to "./packages" (i.e. "project-root/packages") 2) if no file extension is specified, a ".js" extension is inferred Thank you.
16 replies