Same behavior as for other images, for example: png, jpg
Actual Behavior
ERROR in ./src/img/example-image.webp 1:5
Module parse failed: Unexpected token (1:5)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)
Expected Behavior
Same behavior as for other images, for example: png, jpg
Actual Behavior
ERROR in ./src/img/example-image.webp 1:5 Module parse failed: Unexpected token (1:5) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders (Source code omitted for this binary file)
Code
How Do We Reproduce?
Add "webp" to test section in file-loader config and import any webp image like: "import Example from 'your-webp-image.wepb'"