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
+4 -5
View File
@@ -1,10 +1,9 @@
<script lang="ts" setup>
import { VNode } from 'vue'
import { ArrowHeadType, ElementId, Position } from '../../types'
import EdgeText from './EdgeText.vue'
import { ArrowHeadType, ElementId, Position } from '~/types'
import { getMarkerEnd, getBezierPath } from '~/components/Edges/utils'
import { getMarkerEnd, getBezierPath } from './utils'
interface StraightEdgeProps<T = any> {
interface StraightEdgeProps {
id: ElementId
source: ElementId
target: ElementId
@@ -30,7 +29,7 @@ interface StraightEdgeProps<T = any> {
style?: any
arrowHeadType?: ArrowHeadType
markerEndId?: string
data?: T
data?: any
sourceHandleId?: ElementId | null
targetHandleId?: ElementId | null
}