mirror of
https://github.com/kremalicious/portfolio.git
synced 2025-01-03 10:25:00 +01:00
remove webfontloader webpack modification
This commit is contained in:
parent
840883b560
commit
d75cd394c2
@ -73,13 +73,3 @@ exports.modifyWebpackConfig = ({ config, stage }) => {
|
|||||||
}
|
}
|
||||||
return config
|
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',
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user