Skip to content

Cannot read properties of undefined (reading 'extend') #56

Description

@xpluscal

I've updated the vite config to contain the ssr/noexternal/dayjs but I am errors on all files with the "extend" issue, see excertp below:

...
3:40:13 PM [vite] Error when evaluating SSR module /node_modules/@beyonk/svelte-datepicker/src/components/lib/context.js:
TypeError: Cannot read properties of undefined (reading 'extend')
    at /node_modules/@beyonk/svelte-datepicker/src/components/lib/date-utils.js:7:7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions