catsigma
catsigma
Did you import the lib by using `import xxx from 'path/to/Cargo.toml'` or `import xxx from 'path/to/lib.rs'`?
Your folder is: ``` npm-project +src +foo.ts wasm-project +Cargo.toml ``` right? And what cmd did you use to complie the `foo.ts`?
In my own test project, I can directly use `parcel` to build a .ts file with `Cargo.toml` import.
Do you need this `lib.rs` support? I've removed the description in README.md now.