Skip to content

VSCode extension issue: empty preview pane, DevTools seem to complain about SyntaxError related to import.meta #3836

@Wizek

Description

@Wizek

index.js:274 Uncaught SyntaxError: Cannot use 'import.meta' outside a module (at index.js:274:40660)

            this.worker = new Worker(new URL("./esbuild-worker.js",import.meta.url),{

Version
0.10.0

Visual Studio Code
Version: 1.100.2 (user setup)

.squiggle File to be previewed:

a = normal(0, 1)

Please let me know if there is some other info needed or if some debug step on my behalf could be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🆕 To prioritize

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions