Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove getStaticDirectory() #7800

Closed
Rich-Harris opened this issue Nov 24, 2022 · 1 comment
Closed

Remove getStaticDirectory() #7800

Rich-Harris opened this issue Nov 24, 2022 · 1 comment
Milestone

Comments

@Rich-Harris
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant