From aa2dd3f93161c7bf77e223c059e1806abfb4ac46 Mon Sep 17 00:00:00 2001 From: James Jensen Date: Sat, 21 Jul 2018 16:06:37 +0800 Subject: [PATCH] Some images are saved as `.JPG` or `.PNG` --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bff689d..2708f73 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ module.exports = { module: { rules: [ { - test: /\.(png|jpg|gif)$/, + test: /\.(png|jpg|gif)$/i, use: [ { loader: 'url-loader', @@ -163,4 +163,4 @@ Please take a moment to read our contributing guidelines if you haven't yet done [chat-url]: https://gitter.im/webpack/webpack [size]: https://packagephobia.now.sh/badge?p=url-loader -[size-url]: https://packagephobia.now.sh/result?p=url-loader \ No newline at end of file +[size-url]: https://packagephobia.now.sh/result?p=url-loader