Skip to content

Worker file's runtime location #857

Closed
@stevenvachon

Description

Support Question

I'm using the webpack plugin, which correctly copies the worker file to my bundle's output directory. My issue is that the worker file can't be found by my server (localhost:3000), where the console shows:

Uncaught SyntaxError: Unexpected token '<'
http://localhost:3000/perspective.wasm.worker.js

The file is actually at http://localhost:3000/public/plugins/perspective-panel/perspective.wasm.worker.js.

Metadata

Assignees

No one assigned

    Labels

    JSquestionQuestions about use, potential features, or improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions