We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0865053 + 09ae1d8 commit 7556b61Copy full SHA for 7556b61
compat/server.mjs
@@ -0,0 +1 @@
1
+export { renderToString, renderToStaticMarkup } from 'preact-render-to-string';
package.json
@@ -59,7 +59,8 @@
59
"import": "./jsx-runtime/dist/jsxRuntime.mjs"
60
},
61
"./compat/server": {
62
- "default": "./compat/server.js"
+ "require": "./compat/server.js",
63
+ "import": "./compat/server.mjs"
64
65
"./package.json": "./package.json",
66
"./": "./"
@@ -169,6 +170,7 @@
169
170
"compat/dist",
171
"compat/src",
172
"compat/server.js",
173
+ "compat/server.mjs",
174
"compat/test-utils.js",
175
"compat/jsx-runtime.js",
176
"compat/jsx-runtime.mjs",
0 commit comments