OS?
Mac OS X
Versions.angular-cli: 1.0.0-beta.21
node: 6.9.1
os: darwin x64
Repro steps.
Due to the way that assets are built, references to images in html templates are not processed by webpack and therefore aren't fingerprinted. Furthermore, the src attributes don't get prefixed by publicPath (in the event that the PR #3285 is merged) and we don't have the flexibility to locate images with their components (#3292)
The log given by the failure.
n/a
Mention any other details that might be useful.
I have a branch that uses html-loader instead of raw-loader for html files, which fixes all these problems. I'd be willing to create a PR that makes this change, perhaps only if passed a config option, but I'm open to other ideas and would like to get the opinion of the angular-cli team as to whether this is something they're interested in supporting.
OS?
Mac OS X
Versions.angular-cli: 1.0.0-beta.21
node: 6.9.1
os: darwin x64
Repro steps.
Due to the way that assets are built, references to images in html templates are not processed by webpack and therefore aren't fingerprinted. Furthermore, the
srcattributes don't get prefixed bypublicPath(in the event that the PR #3285 is merged) and we don't have the flexibility to locate images with their components (#3292)The log given by the failure.
n/a
Mention any other details that might be useful.
I have a branch that uses
html-loaderinstead ofraw-loaderfor html files, which fixes all these problems. I'd be willing to create a PR that makes this change, perhaps only if passed a config option, but I'm open to other ideas and would like to get the opinion of the angular-cli team as to whether this is something they're interested in supporting.