Faster Webpack builds
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: sqs
This PR significantly speeds up Webpack initial and incremental builds of TypeScript and SCSS:
See commit messages for a discussion of each change.
Benchmarks:
goreman run restart web
and look for Time: ...
echo '/* a */' >> web/src/SourcegraphWebApp.tsx
and look for Time: ...
echo '/* a */' >> web/src/SourcegraphWebApp.scss
and look for Time: ...
(All on the same computer, with nothing else running.)
master
branch:
faster-webpack
branch:
Push commits to the source branch or add previously merged commits to review them.