[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

View File

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