Update vite to v3

This commit is contained in:
Misode
2022-11-29 01:06:32 +01:00
parent 3e8a193e24
commit 60950c4e9a
7 changed files with 325 additions and 280 deletions

View File

@@ -1,5 +1,5 @@
import type { ItemStack } from 'deepslate'
import { Identifier } from 'deepslate-1.18.2'
import type { ItemStack } from 'deepslate/core'
import { Identifier } from 'deepslate/core'
import { useEffect, useRef, useState } from 'preact/hooks'
import { useVersion } from '../contexts/Version.jsx'
import { useAsync } from '../hooks/useAsync.js'

View File

@@ -1,5 +1,6 @@
import type { ItemStack } from 'deepslate'
import { AttributeModifierOperation, Enchantment, Identifier, MobEffectInstance, NbtList, NbtType, Potion } from 'deepslate'
import type { ItemStack } from 'deepslate/core'
import { AttributeModifierOperation, Enchantment, Identifier, MobEffectInstance, Potion } from 'deepslate/core'
import { NbtList, NbtType } from 'deepslate/nbt'
import { useMemo } from 'preact/hooks'
import { useVersion } from '../contexts/Version.jsx'
import { useAsync } from '../hooks/useAsync.js'