From d75cd394c2735d6ebe1d8b7287e2c62a43761e6b Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 25 Apr 2018 20:55:36 +0200 Subject: [PATCH] remove webfontloader webpack modification --- gatsby-node.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gatsby-node.js b/gatsby-node.js index 492f430..f308d69 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -73,13 +73,3 @@ exports.modifyWebpackConfig = ({ config, stage }) => { } return config } - -// https://github.com/gatsbyjs/gatsby/issues/2285#issuecomment-333343938 -exports.modifyWebpackConfig = ({ config, stage }) => { - if (stage === 'build-html') { - config.loader('null', { - test: /webfontloader/, - loader: 'null-loader', - }) - } -}