kit icon indicating copy to clipboard operation
kit copied to clipboard

Remove `getStaticDirectory()`

Open Rich-Harris opened this issue 3 years ago • 0 comments

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

Rich-Harris avatar Nov 24 '22 16:11 Rich-Harris