Commit c7800342 authored by Mike Greiling's avatar Mike Greiling

Merge branch 'sh-fix-webpack-middleware-setup' into 'master'

Properly attach middleware to webpack-dev-server

See merge request gitlab-org/gitlab!83248
parents 554e844e 8c41adae
......@@ -702,7 +702,10 @@ module.exports = {
const incrementalCompilerMiddleware = incrementalCompiler.createMiddleware(devServer);
if (incrementalCompilerMiddleware) {
middlewares.unshift(incrementalCompilerMiddleware);
middlewares.unshift({
name: 'incremental-compiler',
middleware: incrementalCompilerMiddleware,
});
}
return middlewares;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment