update(dist): Remove rollup and use vite to build lib

* Remove custom tsconfig paths to avoid resolving issues on published package
This commit is contained in:
Braks
2021-11-06 08:54:35 +01:00
parent 64df75d405
commit 61779638ac
59 changed files with 282 additions and 177 deletions
+5 -4
View File
@@ -1,7 +1,7 @@
import { getHostForElement } from '~/utils'
import { Connection, ConnectionMode, ElementId, HandleType, ValidConnectionFunc } from '~/types'
import useStore from '~/composables/useStore'
import useHooks from '~/composables/useHooks'
import { getHostForElement } from '../utils'
import { Connection, ConnectionMode, ElementId, HandleType, ValidConnectionFunc } from '../types'
import useStore from './useStore'
import useHooks from './useHooks'
type Result = {
elementBelow: Element | null
@@ -157,6 +157,7 @@ export default () => {
hooks.connectEnd.trigger(event)
if (elementEdgeUpdaterType) {
// todo fix missing edge
hooks.edgeUpdateEnd.trigger({ event } as any)
}