Skip to content

Expose worker urls to consumer #162

@ShaMan123

Description

@ShaMan123

Description 📝

As a consumer I need to import the worker file in order to init FragmentsModels

constructor(workerURL: string, options?: { classicWorker?: boolean }) {

This a bit painful/complicated.

Suggested solution 💡

  • It can be an optional arg, falling back to the default.
  • The worker files should be declared for consumption via exports under package.json.

Alternative ⛕

No response

Additional context ☝️

No response

Validations ✅

  • Read the docs.
  • Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureSomething new that we could do

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions