You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #516 Don't use babel-loader's cacheDirectory for production (Lyrkan)
This PR was merged into the master branch.
Discussion
----------
Don't use babel-loader's cacheDirectory for production
Currently `cacheDirectory` is always set to `true` in `babel-loader`'s options.
This can be an issue because the cache identifier is only based on direct Babel options, but not on external configs such as `.browserslistrc` files or if a `browserslist` key was added to the `package.json` (see babel/babel-loader#690).
Disabling that cache entirely in Encore while waiting for a proper solution in `babel` or `babel-loader` would probably not be a good idea, but we could mitigate the problem by disabling it only for the prod environment.
Closes#514
Commits
-------
ae74298 Don't use babel-loader's cacheDirectory for production
0 commit comments