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
+3 -4
View File
@@ -1,9 +1,8 @@
<script lang="ts" setup>
import { VNode } from 'vue'
import { ArrowHeadType, ElementId, Position } from '../../types'
import SmoothStepEdge from './SmoothStepEdge.vue'
import { ArrowHeadType, ElementId, Position } from '~/types'
export interface EdgeStepProps<T = any> {
export interface EdgeStepProps {
id: ElementId
source: ElementId
target: ElementId
@@ -29,7 +28,7 @@ export interface EdgeStepProps<T = any> {
style?: any
arrowHeadType?: ArrowHeadType
markerEndId?: string
data?: T
data?: any
sourceHandleId?: ElementId | null
targetHandleId?: ElementId | null
}