Faster Webpack builds
There are currently no pipelines.
To run a merge request pipeline, the jobs in the CI/CD configuration file must be configured to run in merge request pipelines and you must have sufficient permissions in the source project.
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:
To run a merge request pipeline, the jobs in the CI/CD configuration file must be configured to run in merge request pipelines and you must have sufficient permissions in the source project.