explicit url imports
This commit is contained in:
parent
acf41b45c3
commit
bc79fa8ea0
@ -6,7 +6,7 @@ import { Html } from '@react-three/drei';
|
|||||||
import { AppContext } from '../App';
|
import { AppContext } from '../App';
|
||||||
import Color from 'color';
|
import Color from 'color';
|
||||||
import { Vector3 } from 'three';
|
import { Vector3 } from 'three';
|
||||||
import messageBubbleModelURL from '../../assets/message-bubble.glb';
|
import messageBubbleModelURL from '../../assets/message-bubble.glb?url';
|
||||||
import { meta } from '@eslint/js';
|
import { meta } from '@eslint/js';
|
||||||
|
|
||||||
export default function ChatBubble({ id, position, text }) {
|
export default function ChatBubble({ id, position, text }) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { useRef } from 'react';
|
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 * as everforest from '../_everforest.module.scss'
|
||||||
import { RigidBody } from '@react-three/rapier';
|
import { RigidBody } from '@react-three/rapier';
|
||||||
import { useGLTF } from '@react-three/drei';
|
import { useGLTF } from '@react-three/drei';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user