-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
enable babel-loader cache #10083
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
enable babel-loader cache #10083
Conversation
One invalidation issue to be aware of is babel/babel-loader#690. It could probably be worked around via make: node_modules/.cache/babel-loader: package-lock.json
rm -rf $@
mkdir -p $@
$(WEBPACK_DEST): $(WEBPACK_SOURCES) | node_modules node_modules/.cache/babel-loader |
Codecov Report
@@ Coverage Diff @@
## master #10083 +/- ##
==========================================
+ Coverage 43.45% 43.45% +<.01%
==========================================
Files 566 566
Lines 78987 78989 +2
==========================================
+ Hits 34322 34324 +2
- Misses 40427 40429 +2
+ Partials 4238 4236 -2
Continue to review full report at Codecov.
|
Cache invalidation added for changes to |
a82a99f
to
fe0aa41
Compare
Rewrote cache invalidation to use |
this speeds up repeated webpack builds by around 20%. It will use the default cache directory `node_modules/.cache/babel-loader`. Also added cache invalidation to workaround babel/babel-loader#690
b778269
to
9d736c2
Compare
This speeds up repeated webpack builds by around 20%. It will use the default cache directory
node_modules/.cache/babel-loader
.