@drupflare/workforce - v0.3.0
    Preparing search index...

    Function fromGitHub

    • A template repository, through codeload.

      GitHub wraps a tarball in one owner-repo-sha/ directory, so strip defaults to 1 here where it defaults to 0 everywhere else. Getting that wrong produces a Worker whose main module is nested one level down and whose upload is rejected for a missing entry point.

      Parameters

      Returns Promise<ModuleSet>