piotr-oles/as-proto

All imports are treated as relative

Opened this issue · 1 comments

If you have a proto in a subdirectory

a/b.proto

import "c/d.proto";

This generates assemblyscript like:

a/b.ts

import {...} from "./c/d";

This seems wrong because the compiler tries to look for a/c/d.ts, when in fact the file is at c/d.ts.

(Possibly something is weird/abnormal about my setup or I'm doing something wrong -- apologies if this is the case).

Could you test this with v1.1.0? I think I fixed this issue with ESM modules