mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-09 01:20:09 +00:00
Fix Vite build (#55)
* Fix build output * 0.7.37 * Fix type export * 0.7.38 * Adjust build * 0.7.39 * Add css to package declaration * 0.7.40 * ESM style named export * 0.7.41 * Fix style export for unit test * 0.7.42
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
const globalExport = {};
|
||||
|
||||
(function (globalThis) {
|
||||
// *************************************************************
|
||||
// LiteGraph CLASS *******
|
||||
// *************************************************************
|
||||
@@ -14513,14 +14515,13 @@ LGraphNode.prototype.executeAction = function(action)
|
||||
window.setTimeout(callback, 1000 / 60);
|
||||
};
|
||||
}
|
||||
})(globalExport)
|
||||
|
||||
if (typeof exports != "undefined") {
|
||||
exports.LiteGraph = globalThis.LiteGraph;
|
||||
exports.LGraph = globalThis.LGraph;
|
||||
exports.LLink = globalThis.LLink;
|
||||
exports.LGraphNode = globalThis.LGraphNode;
|
||||
exports.LGraphGroup = globalThis.LGraphGroup;
|
||||
exports.DragAndScale = globalThis.DragAndScale;
|
||||
exports.LGraphCanvas = globalThis.LGraphCanvas;
|
||||
exports.ContextMenu = globalThis.ContextMenu;
|
||||
}
|
||||
export const LiteGraph = globalExport.LiteGraph;
|
||||
export const LGraph = globalExport.LGraph;
|
||||
export const LLink = globalExport.LLink;
|
||||
export const LGraphNode = globalExport.LGraphNode;
|
||||
export const LGraphGroup = globalExport.LGraphGroup;
|
||||
export const DragAndScale = globalExport.DragAndScale;
|
||||
export const LGraphCanvas = globalExport.LGraphCanvas;
|
||||
export const ContextMenu = globalExport.ContextMenu;
|
||||
|
||||
Reference in New Issue
Block a user