-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentneeds: more infoReporter must clarify the issueReporter must clarify the issue

Description
Bug Report
Versions.
Angular: 4.4.4
ngtools/webpack: 1.7.2,
file-loader: 1.1.5,
image-webpack-loader: 3.4.2,
webpack: 3.6.0,
webpack-dev-server: 2.9.1
Repro steps.
- Create a repo with image-loader and ngtools/webpack.
- Add a image-loader loader with "outputPath" as an option
- Create a reference to a image in the html.
- Create AOT build and run the output html.
The log given by the failure.
No error, just compiles like it should. Errors happens when running the app.
The app works when running a webpack-dev-server or webpack build. Only the prod build (this one has ngtools/webpack) has the problem. So the problem must be in the ngtools/webpack.
Desired functionality.
AOT build should compile just like a normal build should do, with the img tags not formatted to a string
Mention any other details that might be useful.
A repo that has the error: My webpack starter
Stackoverflow post: Stackoverflow post for the error
Workarround
There is actually a workaround, but a fix would be better. See my stackoverflow post for the workaround
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentneeds: more infoReporter must clarify the issueReporter must clarify the issue