Skip to content

Commit

Permalink
Use named export for esm compat/server
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Mar 14, 2021
1 parent c6ca49e commit a40ed70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion compat/server.mjs
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export { renderToString, renderToStaticMarkup } from 'preact-render-to-string';
export {
renderToString,
renderToString as renderToStaticMarkup
} from 'preact-render-to-string';

0 comments on commit a40ed70

Please sign in to comment.