From 53e1160a1c31102b26f11f3de9e8624fa6aecae1 Mon Sep 17 00:00:00 2001 From: Lyubo Marinov Date: Thu, 7 Sep 2017 09:34:53 -0500 Subject: [PATCH] [webpack-dev-server] Serve more local resources/files --- webpack.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index b0ce8641d..88470f41e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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; }