mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-05-06 12:36:42 +08:00
Add support for *.jpeg file extension. (#624)
This commit is contained in:
committed by
Ville Immonen
parent
66702915e6
commit
2c6f1da4d0
@@ -128,7 +128,7 @@ module.exports = {
|
||||
// When you `import` an asset, you get its (virtual) filename.
|
||||
// In production, they would get copied to the `build` folder.
|
||||
{
|
||||
test: /\.(ico|jpg|png|gif|eot|otf|webp|svg|ttf|woff|woff2)(\?.*)?$/,
|
||||
test: /\.(ico|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2)(\?.*)?$/,
|
||||
exclude: /\/favicon.ico$/,
|
||||
loader: 'file',
|
||||
query: {
|
||||
|
||||
Reference in New Issue
Block a user