Skip to content

Error: "render is not a function" #191

@PierBover

Description

@PierBover

I'm trying to render a component to string via SSR, but when trying to use the render() method I'm always getting this error:

render is not a function

Here's a simple repro: https://github.com/PierBover/svelte-ssr-webpack-test

Just do

npm i
npm run start

I'm not sure if the issue is actually in svelte-loader but I figured I'd first report this here in case I've messed up something with Webpack.

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