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

Expose cache implementation #831

Open
Klemensas opened this issue Mar 18, 2020 · 0 comments · May be fixed by #1040
Open

Expose cache implementation #831

Klemensas opened this issue Mar 18, 2020 · 0 comments · May be fixed by #1040

Comments

@Klemensas
Copy link

Klemensas commented Mar 18, 2020

I'm submitting a feature request

Is there any possibility to expose the cache implementation as a direct export? Or as a separate package?

A form of this is already done in https://github.com/viankakrisna/loader-fs-cache but already seems to be somewhat out of sync with this version.
It's used in eslint-loader as their caching mechanism.

Pulling it directly from here seems like a cleaner solution and I imagine there are multiple other packages that would like to use it.

I realize that there's a possibility to import it like import cache from 'babel-loader/lib/cache' but that seems iffy and could break easily.

If implementing it would most likely need to:

@JLHwung JLHwung linked a pull request Sep 4, 2024 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant