[webpack-dev-server] Serve more local resources/files
This commit is contained in:
parent
15ab7a292c
commit
53e1160a1c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue