Skip to content
This repository was archived by the owner on Jul 12, 2026. It is now read-only.
This repository was archived by the owner on Jul 12, 2026. It is now read-only.

unreachable code after return statement #352

Description

@einarpersson

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

  1. npx sv create hello-rapier (minimal, ts)
  2. npm i @dimforge/rapier2d (0.19.0)
  3. npm i vite-plugin-wasm and add wasm() to the vite plugins array in the vite config
  4. Dynamically import Rapier in onMount in +page.svelte

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions