feat(dev): don't proxy fonts

Use the local ones, this simplifies testing adding icons, for example.
pull/3656/head
Saúl Ibarra Corretgé 6 years ago committed by Zoltan Bettenbuk
parent e452867e12
commit c9b910b1c1
  1. 3
      webpack.config.js

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

Loading…
Cancel
Save