Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All imports are treated as relative #29

Open
cwgordon7 opened this issue Nov 14, 2022 · 1 comment
Open

All imports are treated as relative #29

cwgordon7 opened this issue Nov 14, 2022 · 1 comment

Comments

@cwgordon7
Copy link

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).

@piotr-oles
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants