site/node_modules/preact/compat/server.mjs
2024-10-14 08:09:33 +02:00

16 lines
417 B
JavaScript

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
};