Skip to content

Remove getStaticDirectory() #7800

@Rich-Harris

Description

@Rich-Harris

Describe the problem

As with #7798, getStaticDirectory() is unused by official adapters. Static assets are included in getClientDirectory(), and the adapter has a list of files in static, so it's not necessary.

It's quite likely that we'll want to support static: ['static', process.env.THEME] or something like that in future, and getStaticDirectory() would make that somewhat tricky.

Describe the proposed solution

Check community adapters aren't using getStaticDirectory(), and remove it.

Alternatives considered

No response

Importance

would make my life easier

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions