mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-05-12 03:45:58 +08:00
committed by
Dan Abramov
parent
2b5eb82c11
commit
dcdcab0ecc
@@ -126,7 +126,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|svg|ttf|woff|woff2)(\?.*)?$/,
|
||||
test: /\.(ico|jpg|png|gif|eot|otf|webp|svg|ttf|woff|woff2)(\?.*)?$/,
|
||||
include: [paths.appSrc, paths.appNodeModules],
|
||||
exclude: /\/favicon.ico$/,
|
||||
loader: 'file',
|
||||
|
||||
Reference in New Issue
Block a user