Speed up bin/webpack*
executables by dropping yarn run
overhead
#638
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We were already doing this on Windows only (#584). Just do it.
Before
After
$ time bin/webpack Hash: 9a50a6710c2068693890 Version: webpack 3.5.4 Time: 958ms Asset Size Chunks Chunk Names hello_react.js 2.05 MB 0 [emitted] [big] hello_react [82] ./app/javascript/packs/hello_react.jsx 759 bytes {0} [built] + 184 hidden modules real 0m1.803s user 0m1.827s sys 0m0.169s