survivejs / webpack-book

From apprentice to master (CC BY-NC-ND)
https://survivejs.com/webpack/
2.42k stars 319 forks source link

Loading Images chapter - suggestion #138

Closed jeggett closed 7 years ago

jeggett commented 7 years ago

"Setting Up url-loader" section. You write "If you use the limit option, you will need to install both url-loader and file-loader to your project. ". I think it's worth mentioning not to use them both in config, because it will corrupt loaded images. I didn't know this and googled 20 mins to figure out what is happening.

bebraw commented 7 years ago

Ah, great point. It's definitely either/or. Multiple matches would be bad indeed.