Hi, just wanted to let you know that I get this warning in developer console
unreachable code after return statement
in character_controller.ts:95:9
Reproduce
npx sv create hello-rapier (minimal, ts)
npm i @dimforge/rapier2d (0.19.0)
npm i vite-plugin-wasm and add wasm() to the vite plugins array in the vite config
- Dynamically import Rapier in
onMount in +page.svelte
Hi, just wanted to let you know that I get this warning in developer console
in
character_controller.ts:95:9Reproduce
npx sv create hello-rapier(minimal, ts)npm i @dimforge/rapier2d(0.19.0)npm i vite-plugin-wasmand addwasm()to the vite plugins array in the vite configonMountin+page.svelte