mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-26 09:19:43 +00:00
Configure vite to copy from src to dist (#2)
* nit * move * direct copy lib dir * nit * disable treeshake
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
const { spawn } = require("child_process");
|
||||
const { resolve } = require("path");
|
||||
const { existsSync, mkdirSync, writeFileSync } = require("fs");
|
||||
const http = require("http");
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
// @ts-check
|
||||
/// <reference path="../../dist/types/litegraph.d.ts" />
|
||||
/// <reference path="../../src/types/litegraph.d.ts" />
|
||||
|
||||
/**
|
||||
* @typedef { import("../../dist/scripts/app")["app"] } app
|
||||
* @typedef { import("../../dist/types/litegraph") } LG
|
||||
* @typedef { import("../../dist/types/litegraph").IWidget } IWidget
|
||||
* @typedef { import("../../dist/types/litegraph").ContextMenuItem } ContextMenuItem
|
||||
* @typedef { import("../../dist/types/litegraph").INodeInputSlot } INodeInputSlot
|
||||
* @typedef { import("../../dist/types/litegraph").INodeOutputSlot } INodeOutputSlot
|
||||
* @typedef { import("../../src/types/litegraph") } LG
|
||||
* @typedef { import("../../src/types/litegraph").IWidget } IWidget
|
||||
* @typedef { import("../../src/types/litegraph").ContextMenuItem } ContextMenuItem
|
||||
* @typedef { import("../../src/types/litegraph").INodeInputSlot } INodeInputSlot
|
||||
* @typedef { import("../../src/types/litegraph").INodeOutputSlot } INodeOutputSlot
|
||||
* @typedef { InstanceType<LG["LGraphNode"]> & { widgets?: Array<IWidget> } } LGNode
|
||||
* @typedef { (...args: EzOutput[] | [...EzOutput[], Record<string, unknown>]) => EzNode } EzNodeFactory
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user