Build silently ignores required images
Tanneguy opened this issue · 1 comments
Tanneguy commented
Is this a bug report?
Yes
Environment
node -v
: v13.2.0npm -v
: 6.13.7yarn --version
(if you use Yarn):npm ls create-elm-app -g
(if you haven’t ejected):
/home/me/.nvm/versions/node/v13.2.0/lib
└── create-elm-app@4.2.1
Then, specify:
-
Operating system:
Description: Ubuntu 19.10
Codename: eoan -
Browser and version (if relevant):
not relevant (build issue)
Steps to Reproduce
git clone https://github.com/Tanneguy/bug1.git
cd bug1
elm-app build
Expected Behavior
My aim is to use images in my app.
I followed the (especially well-hidden) directive of using the 'required:' prefix in the src
attibute value for the img
tag. I then foremost expected the images to appear in the app.
As it turned out, not all media are imported during the build.
I expected
- the build/media/static folder contains
- buggy.[hash].png
- nobug.[hash].png
- If an import did not succeed - because of the file itself, for instance,
an error message explains what happened
Actual Behavior
- Only one png was imported, the other one seemed simply ignored
- Compiled successfully message
Reproducible Demo
as explained in the Steps to Reproduce