Skip to content

organize server/utils.ts functions so that they aren't being imported on the client #370

Open
@vincanger

Description

@vincanger

We're importing requireNodeEnvVar into the payment/plans.ts and then some of these variables are being imported onto the client, causing clientside errors if the user extends the utils.ts file with a serverside only function.

See this convo for more info: https://discord.com/channels/686873244791210014/1339549500158771250/1339549500158771250

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