Skip to content

Cannot use import statement outside a module #68

@mitchuman

Description

@mitchuman

Describe the bug

Import issue when using and Embedded Studio with SvelteKit

Screenshot 2024-08-11 at 4 12 03 PM

Which versions of Sanity are you using?

@sanity/cli (global)          3.53.0 (up to date)
@sanity/dashboard              4.0.0 (up to date)
@sanity/eslint-config-studio   4.0.0 (up to date)
@sanity/vision                3.53.0 (up to date)
sanity                        3.53.0 (up to date)

What operating system are you using?

Which versions of Node.js / npm are you running?

9.8.1
v18.18.0

Additional context

Setup found here: https://github.com/nuotsu/sanitypress-svelte

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