Does file-loader
ignore dynamic url?
// app.component.html
<img src="../assets/flower.jpeg" alt="Flower" width="100px">
<img src="{{assets}}flower.jpeg" alt="Flower" width="100px">
// app.component.ts
export class AppComponent {
assets = '../assets/';
}
As you can see I have 2 images in html. The first image is displayed as expected, but the second one does not work.
The first image is generated and image url in html is also changed, whereas second image url is not hashed.
//eg:
<img src="./assets/b16683a9edb6ebf57d144f8b86cb163e.jpeg" alt="Flower" width="100px">
<img src="../assets/flower.jpeg" alt="Flower" width="100px">
Here is the git repo to reproduce issue, Run npm i && npm start