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

[Discuss] Remove internal caching in favour of cache-loader #486

Closed
michael-ciniawsky opened this issue Jun 27, 2017 · 1 comment
Closed

Comments

@michael-ciniawsky
Copy link
Contributor

michael-ciniawsky commented Jun 27, 2017

I'm submitting a feature request

☝️

Babel Core Version:
^6.0.0

Babel Loader Version:
8.0.0 :)

Please tell us about your environment:
OSX 10.x / Linux / Windows 10

Current behavior:

babel-loader caches files on it's own

Expected/desired behavior:
What is the motivation / use case for changing the behavior?

Find a convention for loader caching that works across loaders and doesn't require n implementations

@danez
Copy link
Member

danez commented Jun 28, 2017

We recently change some caching (reading babelrc, checking for file existence etc) to be completely done by webpack (#460) and not the babel-loader. We still cache the actual babel transpile result atm.

If we would remove this it would drastically slow down the loader when not using the cache-loader. I also haven't looked at the cache loader yet and don't know how it works.

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

No branches or pull requests

2 participants