Skip to content

Allow Supplying a filesystem map fsMap via .executeWithFs({ ... }) #11

@seveibar

Description

@seveibar

This will allow us to supply relative imports, for example you might supply:

evalWebWorker.executeWithFs({
  fsMap: {
    "main.tsx": `import manualEdits from "./manual-edits.json"\n//....`,
    "manual-edits.json": "{ ... }"
  },
  entrypoint: "main.tsx"
})

/bounty $20

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions