Hi,
generate wrangler project with --type=rust, modified wrangler.toml accordingly and tried to launch:
wrangler preview --watch
just to receive this output:
π Compiling your project to WebAssembly...
[INFO]: π― Checking for the Wasm target...
[INFO]: π Compiling to Wasm...
Finished release [optimized] target(s) in 0.06s
[INFO]: β¬οΈ Installing wasm-bindgen...
[INFO]: Optional fields missing from Cargo.toml: 'description', 'repository', and 'license'. These are not necessary, but recommended
[INFO]: β¨ Done in 0.20s
[INFO]: π¦ Your wasm pkg is ready to publish at ./pkg.
Error: Your JavaScript project is missing a `package.json` file; is `./` the wrong directory?`
What am I missing? Why is it looking for package.json if itβs a rustwasm project?
Thanks!