chore: faster tldraw build

This commit is contained in:
Peng Xiao
2022-08-26 19:11:07 +08:00
parent 1e607907f3
commit 0828680f0f
227 changed files with 580 additions and 7298 deletions

View File

@@ -1,9 +1,9 @@
import * as React from 'react'
import { observer } from 'mobx-react-lite'
import { TLBounds, BoundsUtils, TLOffset } from '@tldraw/core'
import { useCounterScaledPosition, useRendererContext } from '~hooks'
import type { TLReactShape } from '~lib'
import { useDebouncedValue } from '~hooks/useDebounced'
import { useRendererContext, useCounterScaledPosition } from '../../hooks'
import { useDebouncedValue } from '../../hooks/useDebounced'
import type { TLReactShape } from '../../lib'
const stopEventPropagation = (e: React.PointerEvent) => e.stopPropagation()