aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <silas@exvacuum.dev>2025-02-11 23:53:24 -0500
committerLibravatar Silas Bartha <silas@exvacuum.dev>2025-02-11 23:53:24 -0500
commitbc79fa8ea0153adf247a8003b2382fee605435b0 (patch)
tree2dee8a0083920f80f4c9cee0f66afd47015bc49f
parentacf41b45c3345dd8fa12e013b313afdfb0138a6d (diff)
explicit url imports
-rw-r--r--src/components/chatbubble.jsx2
-rw-r--r--src/components/ground.jsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/chatbubble.jsx b/src/components/chatbubble.jsx
index 8e1dfd1..af4fa75 100644
--- a/src/components/chatbubble.jsx
+++ b/src/components/chatbubble.jsx
@@ -6,7 +6,7 @@ import { Html } from '@react-three/drei';
import { AppContext } from '../App';
import Color from 'color';
import { Vector3 } from 'three';
-import messageBubbleModelURL from '../../assets/message-bubble.glb';
+import messageBubbleModelURL from '../../assets/message-bubble.glb?url';
import { meta } from '@eslint/js';
export default function ChatBubble({ id, position, text }) {
diff --git a/src/components/ground.jsx b/src/components/ground.jsx
index c83aad8..2e986cd 100644
--- a/src/components/ground.jsx
+++ b/src/components/ground.jsx
@@ -1,5 +1,5 @@
import { useRef } from 'react';
-import terrainModelURL from '../../assets/terrain.glb'
+import terrainModelURL from '../../assets/terrain.glb?url'
import * as everforest from '../_everforest.module.scss'
import { RigidBody } from '@react-three/rapier';
import { useGLTF } from '@react-three/drei';