-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webpack loaders don't support .bmp - with PR #1033
Comments
BMP is not a web image format. It's extremely heavy. Since there is a workaround ( |
This is solved via #667. Agree but still happy because the use-case requires 50 x 1.5k original bmps that I can now consider source of truth as-is and inline :)
|
Fair enough :-) |
If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Can you reproduce the problem with latest npm?
yes, 3.10.9
If you're using OS X or Linux, run this to update npm:
Description
Can't import .bmp files without the PUBLIC_FOLDER workaround
Expected behavior
Compilation succeeded :-)
Actual behavior
Failed to compile.
Error in ./src/sonic.bmp
Module parse failed: /Users/me/fabric/src/sonic.bmp Unexpected character '�' (1:3)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected character '�' (1:3)
@ ./src/MyStuff.js 16:13-35
I'll prepare a PR to add bmp to the webpack module loaders in prod and dev.
The text was updated successfully, but these errors were encountered: