mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
Backport of #8462 to `cloud/1.38` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8504-backport-cloud-1-38-fix-cloud-disable-legacy-node-templates-feature-on-cloud-2f96d73d3650815993ebc15eb076744e) by [Unito](https://www.unito.io) Co-authored-by: Christian Byrne <cbyrne@comfy.org> Co-authored-by: Amp <amp@ampcode.com>
52 lines
1.2 KiB
TypeScript
52 lines
1.2 KiB
TypeScript
import { isCloud, isNightly } from '@/platform/distribution/types'
|
|
|
|
import './clipspace'
|
|
import './contextMenuFilter'
|
|
import './customWidgets'
|
|
import './dynamicPrompts'
|
|
import './editAttention'
|
|
import './electronAdapter'
|
|
import './groupNode'
|
|
import './groupNodeManage'
|
|
import './groupOptions'
|
|
import './imageCompare'
|
|
import './imageCrop'
|
|
import './load3d'
|
|
import './maskeditor'
|
|
if (!isCloud) {
|
|
await import('./nodeTemplates')
|
|
}
|
|
import './noteNode'
|
|
import './previewAny'
|
|
import './rerouteNode'
|
|
import './saveImageExtraOutput'
|
|
import './saveMesh'
|
|
import './selectionBorder'
|
|
import './simpleTouchSupport'
|
|
import './slotDefaults'
|
|
import './uploadAudio'
|
|
import './uploadImage'
|
|
import './webcamCapture'
|
|
import './widgetInputs'
|
|
|
|
// Cloud-only extensions - tree-shaken in OSS builds
|
|
if (isCloud) {
|
|
await import('./cloudRemoteConfig')
|
|
await import('./cloudBadges')
|
|
await import('./cloudSessionCookie')
|
|
|
|
if (window.__CONFIG__?.subscription_required) {
|
|
await import('./cloudSubscription')
|
|
}
|
|
}
|
|
|
|
// Feedback button for cloud and nightly builds
|
|
if (isCloud || isNightly) {
|
|
await import('./cloudFeedbackTopbarButton')
|
|
}
|
|
|
|
// Nightly-only extensions
|
|
if (isNightly && !isCloud) {
|
|
await import('./nightlyBadges')
|
|
}
|