chore(web): migrate lodash-es to es-toolkit compat (#30126)

This commit is contained in:
yyh
2025-12-25 09:44:57 +08:00
committed by GitHub
parent fdaeec7f7d
commit 3cbbb06dc4
202 changed files with 222 additions and 230 deletions

View File

@ -5,7 +5,7 @@ import type {
Node,
} from '@/app/components/workflow/types'
import ELK from 'elkjs/lib/elk.bundled.js'
import { cloneDeep } from 'lodash-es'
import { cloneDeep } from 'es-toolkit/compat'
import {
CUSTOM_NODE,
NODE_LAYOUT_HORIZONTAL_PADDING,

View File

@ -9,7 +9,7 @@ import type {
} from '../types'
import {
cloneDeep,
} from 'lodash-es'
} from 'es-toolkit/compat'
import {
getConnectedEdges,
} from 'reactflow'

View File

@ -4,7 +4,7 @@ import type {
} from '../types'
import {
uniqBy,
} from 'lodash-es'
} from 'es-toolkit/compat'
import {
getOutgoers,
} from 'reactflow'