 \href{https://github.com/webpack/webpack}{\texttt{  }} 

\href{https://npmjs.com/package/webpack-dev-middleware}{\texttt{ }} \href{https://nodejs.org}{\texttt{ }} \href{https://david-dm.org/webpack/webpack-dev-middleware}{\texttt{ }} \href{https://dev.azure.com/webpack/webpack-dev-middleware/_build/latest?definitionId=8&branchName=master}{\texttt{ }} \href{https://codecov.io/gh/webpack/webpack-dev-middleware}{\texttt{ }} \href{https://gitter.im/webpack/webpack}{\texttt{ }} \href{https://packagephobia.now.sh/result?p=webpack-dev-middleware}{\texttt{ }}\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33203}{}\doxysection{webpack-\/dev-\/middleware}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33203}
An express-\/style development middleware for use with \href{https://webpack.js.org}{\texttt{ webpack}} bundles and allows for serving of the files emitted from webpack. This should be used for {\bfseries{development only}}.

Some of the benefits of using this middleware include\+:


\begin{DoxyItemize}
\item No files are written to disk, rather it handles files in memory
\item If files changed in watch mode, the middleware delays requests until compiling has completed.
\item Supports hot module reload (HMR).
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33204}{}\doxysubsection{Requirements}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33204}
This module requires a minimum of Node v6.\+9.\+0 and Webpack v4.\+0.\+0, and must be used with a server that accepts express-\/style middleware.\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33205}{}\doxysubsection{Getting Started}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33205}
First thing\textquotesingle{}s first, install the module\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{npm install webpack-\/dev-\/middleware -\/-\/save-\/dev }

\end{DoxyCode}


{\itshape Note\+: We do not recommend installing this module globally.}\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33206}{}\doxysubsection{Usage}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33206}

\begin{DoxyCode}{0}
\DoxyCodeLine{const webpack = require('webpack');}
\DoxyCodeLine{const middleware = require('webpack-\/dev-\/middleware');}
\DoxyCodeLine{const compiler = webpack(\{}
\DoxyCodeLine{  // webpack options}
\DoxyCodeLine{\});}
\DoxyCodeLine{const express = require('express');}
\DoxyCodeLine{const app = express();}
\DoxyCodeLine{}
\DoxyCodeLine{app.use(}
\DoxyCodeLine{  middleware(compiler, \{}
\DoxyCodeLine{    // webpack-\/dev-\/middleware options}
\DoxyCodeLine{  \})}
\DoxyCodeLine{);}
\DoxyCodeLine{}
\DoxyCodeLine{app.listen(3000, () => console.log('Example app listening on port 3000!')); }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33207}{}\doxysubsection{Options}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33207}
The middleware accepts an {\ttfamily options} Object. The following is a property reference for the Object.

{\itshape Note\+: The {\ttfamily public\+Path} property is required, whereas all other options are optional}\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33208}{}\doxysubsubsection{methods}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33208}
Type\+: {\ttfamily Array} ~\newline
 Default\+: `\mbox{[} \textquotesingle{}GET', \textquotesingle{}HEAD\textquotesingle{} \mbox{]}\`{}

This property allows a user to pass the list of HTTP request methods accepted by the server.\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33209}{}\doxysubsubsection{headers}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33209}
Type\+: {\ttfamily Object} ~\newline
 Default\+: {\ttfamily undefined}

This property allows a user to pass custom HTTP headers on each request. eg. {\ttfamily \{ \char`\"{}\+X-\/\+Custom-\/\+Header\char`\"{}\+: \char`\"{}yes\char`\"{} \}}\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33210}{}\doxysubsubsection{index}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33210}
Type\+: {\ttfamily String} ~\newline
 Default\+: {\ttfamily undefined}

\char`\"{}index.\+html\char`\"{}, // The index path for web server, defaults to \char`\"{}index.\+html\char`\"{}. // If falsy (but not undefined), the server will not respond to requests to the root URL.\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33211}{}\doxysubsubsection{lazy}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33211}
Type\+: {\ttfamily Boolean} ~\newline
 Default\+: {\ttfamily undefined}

This option instructs the module to operate in \textquotesingle{}lazy\textquotesingle{} mode, meaning that it won\textquotesingle{}t recompile when files change, but rather on each request.\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33212}{}\doxysubsubsection{logger}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33212}
Type\+: {\ttfamily Object} ~\newline
 Default\+: \href{https://github.com/webpack-contrib/webpack-log/blob/master/index.js}{\texttt{ {\ttfamily webpack-\/log}}}

In the rare event that a user would like to provide a custom logging interface, this property allows the user to assign one. The module leverages \href{https://github.com/webpack-contrib/webpack-log\#readme}{\texttt{ {\ttfamily webpack-\/log}}} for creating the \href{https://github.com/shellscape/loglevelnext\#readme}{\texttt{ {\ttfamily loglevelnext}}} logging management by default. Any custom logger must adhere to the same exports for compatibility. Specifically, all custom loggers must have the following exported methods at a minimum\+:


\begin{DoxyItemize}
\item {\ttfamily log.\+trace}
\item {\ttfamily log.\+debug}
\item {\ttfamily log.\+info}
\item {\ttfamily log.\+warn}
\item {\ttfamily log.\+error}
\end{DoxyItemize}

Please see the documentation for {\ttfamily loglevel} for more information.\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33213}{}\doxysubsubsection{log\+Level}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33213}
Type\+: {\ttfamily String} ~\newline
 Default\+: `\textquotesingle{}info'\`{}

This property defines the level of messages that the module will log. Valid levels include\+:


\begin{DoxyItemize}
\item {\ttfamily trace}
\item {\ttfamily debug}
\item {\ttfamily info}
\item {\ttfamily warn}
\item {\ttfamily error}
\item {\ttfamily silent}
\end{DoxyItemize}

Setting a log level means that all other levels below it will be visible in the console. Setting `log\+Level\+: \textquotesingle{}silent'{\ttfamily will hide all console output. The module leverages \mbox{[}}webpack-\/log\`{}\mbox{]}(\href{https://github.com/webpack-contrib/webpack-log\#readme}{\texttt{ https\+://github.\+com/webpack-\/contrib/webpack-\/log\#readme}}) for logging management, and more information can be found on its page.\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33214}{}\doxysubsubsection{log\+Time}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33214}
Type\+: {\ttfamily Boolean} ~\newline
 Default\+: {\ttfamily false}

If {\ttfamily true} the log output of the module will be prefixed by a timestamp in the {\ttfamily HH\+:mm\+:ss} format.\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33215}{}\doxysubsubsection{mime\+Types}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33215}
Type\+: {\ttfamily Object} ~\newline
 Default\+: {\ttfamily null}

This property allows a user to register custom mime types or extension mappings. eg. `mime\+Types\+: \{ \textquotesingle{}text/html'\+: \mbox{[} \textquotesingle{}phtml\textquotesingle{} \mbox{]} \}\`{}.

By default node-\/mime will throw an error if you try to map a type to an extension that is already assigned to another type. Passing {\ttfamily force\+: true} will suppress this behavior (overriding any previous mapping). eg. `mime\+Types\+: \{ type\+Map\+: \{ \textquotesingle{}text/html'\+: \mbox{[} \textquotesingle{}phtml\textquotesingle{} \mbox{]} \} \}, force\+: true \}\`{}.

Please see the documentation for \href{https://github.com/broofa/node-mime\#mimedefinetypemap-force--false}{\texttt{ {\ttfamily node-\/mime}}} for more information.\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33216}{}\doxysubsubsection{public\+Path}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33216}
Type\+: {\ttfamily String} ~\newline
 {\itshape Required}

The public path that the middleware is bound to. {\itshape Best Practice\+: use the same {\ttfamily public\+Path} defined in your webpack config. For more information about {\ttfamily public\+Path}, please see \href{https://webpack.js.org/guides/public-path}{\texttt{ the webpack documentation}}.}\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33217}{}\doxysubsubsection{reporter}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33217}
Type\+: {\ttfamily Object} ~\newline
 Default\+: {\ttfamily undefined}

Allows users to provide a custom reporter to handle logging within the module. Please see the \href{/lib/reporter.js}{\texttt{ default reporter}} for an example.\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33218}{}\doxysubsubsection{server\+Side\+Render}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33218}
Type\+: {\ttfamily Boolean} ~\newline
 Default\+: {\ttfamily undefined}

Instructs the module to enable or disable the server-\/side rendering mode. Please see \href{\#server-side-rendering}{\texttt{ Server-\/\+Side Rendering}} for more information.\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33219}{}\doxysubsubsection{stats}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33219}
Type\+: {\ttfamily Object} ~\newline
 Default\+: {\ttfamily \{ context\+: process.\+cwd() \}}

Options for formatting statistics displayed during and after compile. For more information and property details, please see the \href{https://webpack.js.org/configuration/stats/\#stats}{\texttt{ webpack documentation}}.\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33220}{}\doxysubsubsection{watch\+Options}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33220}
Type\+: {\ttfamily Object} ~\newline
 Default\+: {\ttfamily \{ aggregate\+Timeout\+: 200 \}}

The module accepts an {\ttfamily Object} containing options for file watching, which is passed directly to the compiler provided. For more information on watch options please see the \href{https://webpack.js.org/configuration/watch/\#watchoptions}{\texttt{ webpack documentation}}\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33221}{}\doxysubsubsection{write\+To\+Disk}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33221}
Type\+: {\ttfamily Boolean$\vert$\+Function} ~\newline
 Default\+: {\ttfamily false}

If {\ttfamily true}, the option will instruct the module to write files to the configured location on disk as specified in your {\ttfamily webpack} config file. {\itshape Setting {\ttfamily write\+To\+Disk\+: true} won\textquotesingle{}t change the behavior of the {\ttfamily webpack-\/dev-\/middleware}, and bundle files accessed through the browser will still be served from memory.} This option provides the same capabilities as the \href{https://github.com/gajus/write-file-webpack-plugin/pulls}{\texttt{ {\ttfamily Write\+File\+Plugin}}}.

This option also accepts a {\ttfamily Function} value, which can be used to filter which files are written to disk. The function follows the same premise as \href{https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter}{\texttt{ {\ttfamily Array\#filter}}} in which a return value of {\ttfamily false} {\itshape will not} write the file, and a return value of {\ttfamily true} {\itshape will} write the file to disk. eg.


\begin{DoxyCode}{0}
\DoxyCodeLine{\{}
\DoxyCodeLine{  writeToDisk: (filePath) => \{}
\DoxyCodeLine{    return /superman\(\backslash\).css\$/.test(filePath);}
\DoxyCodeLine{  \};}
\DoxyCodeLine{\} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33222}{}\doxysubsubsection{fs}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33222}
Type\+: {\ttfamily Object} ~\newline
 Default\+: {\ttfamily Memory\+File\+System}

Set the default file system which will be used by webpack as primary destination of generated files. Default is set to webpack\textquotesingle{}s default file system\+: \href{https://github.com/webpack/memory-fs}{\texttt{ memory-\/fs}}. This option isn\textquotesingle{}t affected by the \href{\#writeToDisk}{\texttt{ write\+To\+Disk}} option.

{\bfseries{Note\+:}} As of 3.\+5.\+x version of the middleware you have to provide {\ttfamily .join()} method to the {\ttfamily fs} instance manually. This can be done simply by using {\ttfamily path.\+join}\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{fs.join = path.join; // no need to bind }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33223}{}\doxysubsection{API}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33223}
{\ttfamily webpack-\/dev-\/middleware} also provides convenience methods that can be use to interact with the middleware at runtime\+:\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33224}{}\doxysubsubsection{$<$tt$>$close(callback)$<$/tt$>$}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33224}
Instructs a webpack-\/dev-\/middleware instance to stop watching for file changes.\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33225}{}\doxysubsubsection{Parameters}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33225}
\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33226}{}\doxyparagraph{callback}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33226}
Type\+: {\ttfamily Function}

A function executed once the middleware has stopped watching.\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33227}{}\doxysubsubsection{$<$tt$>$invalidate()$<$/tt$>$}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33227}
Instructs a webpack-\/dev-\/middleware instance to recompile the bundle. e.\+g. after a change to the configuration.


\begin{DoxyCode}{0}
\DoxyCodeLine{const webpack = require('webpack');}
\DoxyCodeLine{const compiler = webpack(\{ ... \});}
\DoxyCodeLine{const middleware = require('webpack-\/dev-\/middleware');}
\DoxyCodeLine{const instance = middleware(compiler);}
\DoxyCodeLine{}
\DoxyCodeLine{app.use(instance);}
\DoxyCodeLine{}
\DoxyCodeLine{setTimeout(() => \{}
\DoxyCodeLine{  // After a short delay the configuration is changed and a banner plugin is added}
\DoxyCodeLine{  // to the config}
\DoxyCodeLine{  compiler.apply(new webpack.BannerPlugin('A new banner'));}
\DoxyCodeLine{}
\DoxyCodeLine{  // Recompile the bundle with the banner plugin:}
\DoxyCodeLine{  instance.invalidate();}
\DoxyCodeLine{\}, 1000); }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33228}{}\doxysubsubsection{$<$tt$>$wait\+Until\+Valid(callback)$<$/tt$>$}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33228}
Executes a callback function when the compiler bundle is valid, typically after compilation.\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33229}{}\doxysubsubsection{Parameters}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33229}
\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33230}{}\doxyparagraph{callback}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33230}
Type\+: {\ttfamily Function}

A function executed when the bundle becomes valid. If the bundle is valid at the time of calling, the callback is executed immediately.


\begin{DoxyCode}{0}
\DoxyCodeLine{const webpack = require('webpack');}
\DoxyCodeLine{const compiler = webpack(\{ ... \});}
\DoxyCodeLine{const middleware = require('webpack-\/dev-\/middleware');}
\DoxyCodeLine{const instance = middleware(compiler);}
\DoxyCodeLine{}
\DoxyCodeLine{app.use(instance);}
\DoxyCodeLine{}
\DoxyCodeLine{instance.waitUntilValid(() => \{}
\DoxyCodeLine{  console.log('Package is in a valid state');}
\DoxyCodeLine{\}); }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33231}{}\doxysubsection{Known Issues}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33231}
\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33232}{}\doxysubsubsection{Multiple Successive Builds}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33232}
Watching (by means of {\ttfamily lazy\+: false}) will frequently cause multiple compilations as the bundle changes during compilation. This is due in part to cross-\/platform differences in file watchers, so that webpack doesn\textquotesingle{}t loose file changes when watched files change rapidly. If you run into this situation, please make use of the \href{https://github.com/egoist/time-fix-plugin}{\texttt{ {\ttfamily Time\+Fix\+Plugin}}}.\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33233}{}\doxysubsection{Server-\/\+Side Rendering}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33233}
{\itshape Note\+: this feature is experimental and may be removed or changed completely in the future.}

In order to develop an app using server-\/side rendering, we need access to the \href{https://github.com/webpack/docs/wiki/node.js-api\#stats}{\texttt{ {\ttfamily stats}}}, which is generated with each build.

With server-\/side rendering enabled, {\ttfamily webpack-\/dev-\/middleware} sets the {\ttfamily stat} to {\ttfamily res.\+locals.\+webpack\+Stats} and the memory filesystem to {\ttfamily res.\+locals.\+fs} before invoking the next middleware, allowing a developer to render the page body and manage the response to clients.

{\itshape Note\+: Requests for bundle files will still be handled by {\ttfamily webpack-\/dev-\/middleware} and all requests will be pending until the build process is finished with server-\/side rendering enabled.}

Example Implementation\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{const webpack = require('webpack');}
\DoxyCodeLine{const compiler = webpack(\{}
\DoxyCodeLine{  // webpack options}
\DoxyCodeLine{\});}
\DoxyCodeLine{const isObject = require('is-\/object');}
\DoxyCodeLine{const middleware = require('webpack-\/dev-\/middleware');}
\DoxyCodeLine{}
\DoxyCodeLine{// This function makes server rendering of asset references consistent with different webpack chunk/entry configurations}
\DoxyCodeLine{function normalizeAssets(assets) \{}
\DoxyCodeLine{  if (isObject(assets)) \{}
\DoxyCodeLine{    return Object.values(assets);}
\DoxyCodeLine{  \}}
\DoxyCodeLine{}
\DoxyCodeLine{  return Array.isArray(assets) ? assets : [assets];}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{app.use(middleware(compiler, \{ serverSideRender: true \}));}
\DoxyCodeLine{}
\DoxyCodeLine{// The following middleware would not be invoked until the latest build is finished.}
\DoxyCodeLine{app.use((req, res) => \{}
\DoxyCodeLine{  const assetsByChunkName = res.locals.webpackStats.toJson().assetsByChunkName;}
\DoxyCodeLine{  const fs = res.locals.fs;}
\DoxyCodeLine{  const outputPath = res.locals.webpackStats.toJson().outputPath;}
\DoxyCodeLine{}
\DoxyCodeLine{  // then use `assetsByChunkName` for server-\/sider rendering}
\DoxyCodeLine{  // For example, if you have only one main chunk:}
\DoxyCodeLine{  res.send(`}
\DoxyCodeLine{<html>}
\DoxyCodeLine{  <head>}
\DoxyCodeLine{    <title>My App</title>}
\DoxyCodeLine{    <style>}
\DoxyCodeLine{    \$\{normalizeAssets(assetsByChunkName.main)}
\DoxyCodeLine{      .filter((path) => path.endsWith('.css'))}
\DoxyCodeLine{      .map((path) => fs.readFileSync(outputPath + '/' + path))}
\DoxyCodeLine{      .join('\(\backslash\)n')\}}
\DoxyCodeLine{    </style>}
\DoxyCodeLine{  </head>}
\DoxyCodeLine{  <body>}
\DoxyCodeLine{    <div id="{}root"{}></div>}
\DoxyCodeLine{    \$\{normalizeAssets(assetsByChunkName.main)}
\DoxyCodeLine{      .filter((path) => path.endsWith('.js'))}
\DoxyCodeLine{      .map((path) => `<script src="{}\$\{path\}"{}></script>`)}
\DoxyCodeLine{      .join('\(\backslash\)n')\}}
\DoxyCodeLine{  </body>}
\DoxyCodeLine{</html>}
\DoxyCodeLine{  `);}
\DoxyCodeLine{\}); }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33234}{}\doxysubsection{Support}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33234}
We do our best to keep Issues in the repository focused on bugs, features, and needed modifications to the code for the module. Because of that, we ask users with general support, \char`\"{}how-\/to\char`\"{}, or \char`\"{}why isn\textquotesingle{}t this working\char`\"{} questions to try one of the other support channels that are available.

Your first-\/stop-\/shop for support for webpack-\/dev-\/server should by the excellent \href{https://webpack.js.org/guides/development/\#using-webpack-dev-middleware}{\texttt{ documentation}} for the module. If you see an opportunity for improvement of those docs, please head over to the \href{https://github.com/webpack/webpack.js.org}{\texttt{ webpack.\+js.\+org repo}} and open a pull request.

From there, we encourage users to visit the \href{https://gitter.im/webpack/webpack}{\texttt{ webpack Gitter chat}} and talk to the fine folks there. If your quest for answers comes up dry in chat, head over to \href{https://stackoverflow.com/questions/tagged/webpack-dev-middleware}{\texttt{ Stack\+Overflow}} and do a quick search or open a new question. Remember; It\textquotesingle{}s always much easier to answer questions that include your {\ttfamily webpack.\+config.\+js} and relevant files!

If you\textquotesingle{}re twitter-\/savvy you can tweet \href{https://twitter.com/search?q=webpack}{\texttt{ \#webpack}} with your question and someone should be able to reach out and lend a hand.

If you have discovered a \+:bug\+:, have a feature suggestion, or would like to see a modification, please feel free to create an issue on Github. {\itshape Note\+: The issue template isn\textquotesingle{}t optional, so please be sure not to remove it, and please fill it out completely.}\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33235}{}\doxysubsection{Contributing}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33235}
Please take a moment to read our contributing guidelines if you haven\textquotesingle{}t yet done so.

./.github/\+CONTRIBUTING.\+md \char`\"{}\+CONTRIBUTING\char`\"{}\hypertarget{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33236}{}\doxysubsection{License}\label{md_sfcode_node_modules_webpack_dev_middleware_README_autotoc_md33236}
\href{./LICENSE}{\texttt{ MIT}} 