fictionco / fiction

(Join Waiting List) Personal Marketing Platform. A powerful platform for your online identity.
https://www.fiction.com
1.42k stars 109 forks source link

Cannot use webp images #251

Closed abishekrsrikaanth closed 4 years ago

abishekrsrikaanth commented 4 years ago

Using a webp image on a testimonial image throws the following error.

Module parse failed: Unexpected character '' (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)
 @ ./src/factor-settings.ts 104:27-72
 @ ./.factor/loader-settings.ts
 @ ./node_modules/@factor/api/settings.ts
 @ ./node_modules/@factor/app/app.ts
 @ ./node_modules/@factor/app/entry-browser.ts
 @ multi webpack-hot-middleware/client?noInfo=true&quiet=true ./node_modules/@factor/app/entry-browser
arpowers commented 4 years ago

Standard Webpack problem. I'll add webp to the file loader extensions; hopefully that works for you