Files
SnowLuma/.pnpm-store/v11/files/f7/9f3cf3627afcb68648fea8b0727afac078bfa43f0aefdde2c1e686e6c76a2d25d432244a3220d6560bf96759c672358763f35c5cf4d642da0d644989bbb4e3
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

14 lines
566 B
Plaintext

import { ReadableStreamPlugin } from 'seroval-plugins/web'
import { ShallowErrorPlugin } from './ShallowErrorPlugin'
import { RawStreamSSRPlugin } from './RawStream'
import type { RawStream } from './RawStream'
import type { Plugin } from 'seroval'
export const defaultSerovalPlugins = [
ShallowErrorPlugin as Plugin<Error, any>,
// RawStreamSSRPlugin must come before ReadableStreamPlugin to match first
RawStreamSSRPlugin as Plugin<RawStream, any>,
// ReadableStreamNode is not exported by seroval
ReadableStreamPlugin as Plugin<ReadableStream, any>,
]