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:
Chenlei Hu
2024-06-19 23:08:43 -04:00
committed by GitHub
parent cd7fac3fd5
commit 4640eaf0ac
31 changed files with 45 additions and 16985 deletions

View File

@@ -1,5 +1,4 @@
import { defineConfig, Plugin } from 'vite';
import { viteStaticCopy } from 'vite-plugin-static-copy'
import path from 'path';
const IS_DEV = process.env.NODE_ENV === 'development';
@@ -98,11 +97,6 @@ export default defineConfig({
},
plugins: [
comfyAPIPlugin(),
viteStaticCopy({
targets: [
{ src: "src/lib/*", dest: "lib/" },
],
}),
],
build: {
minify: false,