Skip to content

Commit

Permalink
Assets use file-loader instead of url-loader
Browse files Browse the repository at this point in the history
Fixes #6963
  • Loading branch information
Matthias Zaunseder committed Aug 6, 2018
1 parent 529d838 commit f0f24fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/src/utils/webpack-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ module.exports = async ({

file: (options = {}) => {
return {
loader: require.resolve(`url-loader`),
loader: require.resolve(`file-loader`),
options: {
name: `${assetRelativeRoot}[name]-[hash].[ext]`,
...options,
Expand Down

0 comments on commit f0f24fa

Please sign in to comment.