fix: update js-yaml imports for ESM

This commit is contained in:
Tunglies
2026-07-28 16:21:06 +08:00
parent dca6fdcae6
commit 95bd5ceed9
5 changed files with 5 additions and 5 deletions
@@ -36,7 +36,7 @@ import {
cancelIdleCallback,
requestIdleCallback,
} from 'foxact/request-idle-callback'
import yaml from 'js-yaml'
import * as yaml from 'js-yaml'
import {
startTransition,
useCallback,
@@ -29,7 +29,7 @@ import {
styled,
} from '@mui/material'
import { useLockFn } from 'ahooks'
import yaml from 'js-yaml'
import * as yaml from 'js-yaml'
import {
startTransition,
useCallback,
@@ -27,7 +27,7 @@ import {
styled,
} from '@mui/material'
import { useLockFn } from 'ahooks'
import yaml from 'js-yaml'
import * as yaml from 'js-yaml'
import {
startTransition,
useCallback,