explicit url imports

This commit is contained in:
Silas Bartha 2025-02-11 23:53:24 -05:00
parent acf41b45c3
commit bc79fa8ea0
2 changed files with 2 additions and 2 deletions

View File

@ -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 }) {

View File

@ -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';