Open szagi3891 opened 3 years ago
Sorry for the late reply! I got the notifications turned off for some reason. Unfortunately I think this will be hard to reproduce on my own, can you check one of these solutions?
This is a known issue and related to #26.
@YohDeadfall was working on it at some point for wasm-run I don't know what's the status.
Unfortunately I'm planning to deprecated wasm-run in favor for xtask-wasm. That particular issue will be addressed there at some point. Maybe by @yozhgoor if @YohDeadfall doesn't feel motivated to continue.
The problem isn't in motivation, but unexpected lack of time (settling after the third relocation this year 🙂), so I'm not sure that will have enough time any time soon.
I know the feeling xD I'm delaying some things for months
I wanted to use this wasm_bindgen functionality for importing a js file https://github.com/rustwasm/wasm-bindgen/tree/master/examples/import_js
This is the file structure that wasm-run generated:
The problem can be observed on this branch:
An attempt to run the application ends with a 404 error on the resource: /snippets/vertigo-browserdriver-cf73457c3ed6503a/jsdriver/out/jsdriver.js
In a project where I used wasm-pack directly, I get this structure:
it looks like wasm-run omits the generated "snippets" directory. Could you please help me with this problem?