Revert "Use npm to manage litegraph dependency (#45)" (#47)

This reverts commit 4640eaf0ac.
This commit is contained in:
Chenlei Hu
2024-06-20 13:55:36 -04:00
committed by GitHub
parent 4640eaf0ac
commit 3ace859106
31 changed files with 16985 additions and 45 deletions

View File

@@ -9,10 +9,8 @@ import { createImageHost, calculateImageGrid } from "./ui/imagePreview"
import { DraggableList } from "./ui/draggableList";
import { applyTextReplacements, addStylesheet } from "./utils";
import type { ComfyExtension } from "/types/comfy";
import type { LGraph, LGraphCanvas, LGraphNode } from "/types/litegraph";
import { type ComfyWorkflow, parseComfyWorkflow } from "../types/comfyWorkflow";
import { LGraphCanvas, LGraph, LGraphNode, LiteGraph } from "comfyui-litegraph";
import "comfyui-litegraph/css/litegraph.css"
export const ANIM_PREVIEW_WIDGET = "$$comfy_animation_preview"