[webpack-dev-server] Serve more local resources/files

This commit is contained in:
Lyubo Marinov 2017-09-07 09:34:53 -05:00
parent 15ab7a292c
commit 53e1160a1c
1 changed files with 1 additions and 2 deletions

View File

@ -207,8 +207,7 @@ module.exports = [
* target, undefined; otherwise, the path to the local file to be served.
*/
function devServerProxyBypass({ path }) {
// Use local files from the css and libs directories.
if (path.startsWith('/css/')) {
if (path.startsWith('/css/') || path.startsWith('/doc/')) {
return path;
}