mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-22 09:13:19 +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
|
||||
}
|
||||
|
||||
// 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