babel / babel-preset-env

PSA: this repo has been moved into babel/babel -->

Home Page:https://github.com/babel/babel/tree/master/packages/babel-preset-env

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Caching with this preset

thekip opened this issue · comments

Not sure where i should ask this question. Is somebody use this preset with babel-loader and webpack with enabled cache?

I'm asking because, there potentially could be a problem. Because babel-loader use combination of .babelrc, BABEL_ENV, and versions of both loader and babel-core for cache identifier.

It means, when caniuse db is updated cache will not busted.

babel-loader allows to manually override cache identifier, but does babel-preset-env has something that we can put to them to bust cache?

This issue has been moved to babel/babel#6609.