site/node_modules/preact/compat/server.mjs

16 lines
417 B
JavaScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
import { renderToString } from 'preact-render-to-string';
import { renderToPipeableStream } from 'preact-render-to-string/stream-node';
export {
renderToString,
renderToString as renderToStaticMarkup
} from 'preact-render-to-string';
export { renderToPipeableStream } from 'preact-render-to-string/stream-node';
export default {
renderToString,
renderToStaticMarkup: renderToString,
renderToPipeableStream
};