Skip to content

onMount not being called with esbuild #219

@douglasward

Description

@douglasward

I experienced this problem whilst putting together #217 but it always went away again if I did a clean install of @Elderjs.

Now however, even if I clone the template as stated in the documentation with npx degit Elderjs/template elderjs-app, the onMount hook from svelte still isn't called when running the local server with esbuild. Resulting in the clock not ticking for example.

I have tried different node versions (12, 14, 17) and tried downgrading esbuild (even back to 0.12.4) but nothing seems to help.

Using rollup with yarn dev works fine...

Do you have any idea what the problem might be? Or where I could carry on digging?

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