-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulImpacts a large percentage of users; if a workaround exists it is partial or overly painful
Description
Please provide us with the following information:
OS?
Windows 10
Versions.
1.0.0-beta.32.3
Repro steps.
- Create new app with
ng new
.- Add an image anywhere outside the
app
directory, e.g. in theassets
directory.- Reference this image from the
app.component.css
, using a relative path.
Example:background-image: url(../assets/some_image.png)
- Do the following:
ng build --prod
.- Verify that the image is not copied along with the CSS in the build output, meaning the image reference is now broken.
The log given by the failure.
N/A
Mention any other details that might be useful.
The image is correctly copied if doing
ng build
without the--prod
switch.
Thanks! We'll be in touch soon.
JimiC, arliber, alexey-gorshkov, prabhatojha, SchildersChris and 3 more
Metadata
Metadata
Assignees
Labels
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulImpacts a large percentage of users; if a workaround exists it is partial or overly painful