Skip to content

window is not defined #277

@edardev

Description

@edardev

While using the Slideout package and building a SSR with Gatsby in production,
I get the following error;
WebpackError: ReferenceError: window is not defined

I guess, it is because the module require of window to be defined. In development works fine but while
using an Static Site Generator with Gatsby.js in production it will fails.

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