Skip to content

Commit 65d2de7

Browse files
mrdoobclaude
andauthored
RapierPhysics: Fix dynamic import Vite warning (#32565)
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0ec9a77 commit 65d2de7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/jsm/physics/RapierPhysics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async function RapierPhysics() {
9797

9898
if ( RAPIER === null ) {
9999

100-
RAPIER = await import( `${RAPIER_PATH}` );
100+
RAPIER = await import( RAPIER_PATH /* @vite-ignore */ );
101101
await RAPIER.init();
102102

103103
}

0 commit comments

Comments
 (0)