mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-02 11:40:00 +00:00
Use npm to manage litegraph dependency (#45)
* Add comfyui-litegraph dep * remove static copy * Remove litegraph impl * Fix various issues * LiteGraph import * Fix test ref issue * Change to stable version of litegraph * update README
This commit is contained in:
@@ -9,8 +9,10 @@ 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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user