1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 17:23:22 +01:00

remove webfontloader webpack modification

This commit is contained in:
Matthias Kretschmann 2018-04-25 20:55:36 +02:00
parent 840883b560
commit d75cd394c2
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -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',
})
}
}