Minor Changes
-
#4575
aa4fc3ef
- The Node build of@lit-labs/ssr-react/enable-lit-ssr.js
now also monkey-patchesreact/jsx-runtime
to include logic for deeply server-rendering Lit components without modifyingjsxImportSource
in tsconfig.The monkey-patching logic also adds a workaround for inconsistent es module interop behavior in tools like webpack which could lead to errors like
TypeError: Cannot set property createElement of [object Module] which has only a getter
.