Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Builder rule for external images should output files in /images folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jedrzejchalubek committed Aug 17, 2017
1 parent 26015bd commit accd86a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build/rules/external.fonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ module.exports = {
publicPath: config.paths.relative,
name: config.outputs.font.filename
}
}
}
4 changes: 2 additions & 2 deletions build/rules/external.images.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ module.exports = {
loader: 'file-loader',
options: {
publicPath: config.paths.relative,
name: config.outputs.font.filename
name: config.outputs.image.filename
}
}
}
2 changes: 1 addition & 1 deletion build/rules/fonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ module.exports = {
publicPath: config.paths.relative,
name: config.outputs.font.filename,
}
}
}
2 changes: 1 addition & 1 deletion build/rules/images.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ module.exports = {
name: config.outputs.image.filename,
emitFile: false
}
}
}
2 changes: 1 addition & 1 deletion build/rules/sass.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ module.exports = {
],
fallback: 'style-loader'
})
}
}
2 changes: 1 addition & 1 deletion build/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,4 @@ if (! isdev) {
svgo: { removeUnknownsAndDefaults: false, cleanupIDs: false }
})
)
}
}

0 comments on commit accd86a

Please sign in to comment.