Skip to content

10.5.13 breaks something in compat/server.mjs (vs. 10.5.12) #3076

@Amit-A

Description

@Amit-A

When I upgrade npm packages in my project, preact 10.5.13 breaks my webpack build with this error:

ERROR in ./node_modules/preact/compat/server.mjs 1:0-4:33
Can't reexport the named export 'renderToString' from non EcmaScript module (only default export is available)
@ ./node_modules/@apollo/react-ssr/lib/react-ssr.esm.js
@ ./node_modules/react-apollo/lib/react-apollo.esm.js
@ ...

Downgrading to preact 10.5.12 fixes the issue... so something is broken in 10.5.13?!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions