Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

$_$twiz is not defined when using typewiz-webpack in a Gatsby (React) project #112

@madeleineostoja

Description

@madeleineostoja

I'm migrating a Gatsby project to Typescript and trying to use Typewiz for it. I've set it up in webpack config, but I'm getting the following error whenever I try and run a build:

ReferenceError: $_$twiz is not defined

I think because Gatsby SSRs the project, and $_$twiz isn't available in Node? I dunno, just a guess.


Edit: On second thought that can't be the issue, because it breaks in dev too which just runs webpack dev server normally

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions