Skip to content

Commit dcca2a1

Browse files
committed
fix usage with node 20+
1 parent 319512f commit dcca2a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/viverse/src/animation/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { BVHLoader } from 'three/examples/jsm/loaders/BVHLoader.js'
1212
import { FBXLoader } from 'three/examples/jsm/loaders/FBXLoader.js'
1313
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js'
1414
import { applyAnimationBoneMap } from './bone-map.js'
15-
import _bvhBoneMap from './bvh-bone-map.json'
15+
import _bvhBoneMap from './bvh-bone-map.json' with { type: 'json' }
1616
import { DefaultUrl, resolveDefaultCharacterAnimationUrl } from './default.js'
1717
import { applyMask, type CharacterAnimationMask } from './mask.js'
1818
import _mixamoBoneMap from './mixamo-bone-map.json'

0 commit comments

Comments
 (0)