opened
jason-candeo
username_0
<!--
IF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOUT INVESTIGATING
-->

**I'm submitting a ...**  (check one with "x")
```
[ ] bug report => check the README and search github for a similar issue or PR before submitting
[ x] support request => check the README and search github for a similar issue or PR before submitting
[ ] feature request
```

**Current behavior**
<!-- Describe how the bug manifests. -->
add svg to src/client/assets
example css `background: url('../../assets/bg.svg') no-repeat center center;`
webpack fails to build with error: 
```
/home/<REDACTED>/Projects/<REDACTED>/node_modules/webpack/lib/TemplatedPathPlugin.js:69
                .replace(REGEXP_CHUNKHASH, withHashLength(getReplacer(chunkHash), chunkHashWithLength))
   ^
Error: Path variable [chunkhash] not implemented in this context: assets/bg.[chunkhash].svg
```

**Expected/desired behavior**
<!-- Describe what the behavior would be without the bug. -->

For the svg to show as a background using relative paths to describe where it should be found.

**Minimal reproduction of the problem with instructions**
<!--
If the current behavior is a bug or you can illustrate your feature request better with an example, 
please provide the *STEPS TO REPRODUCE* and if possible a *MINIMAL DEMO* of the problem via
https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).
-->
See above.


**What is the motivation / use case for changing the behavior?**
<!-- Describe the motivation or the concrete use case -->

**Please tell us about your environment:**
<!-- Operating system, IDE, package manager, HTTP server, ... -->
Ubuntu 17.04, VsCode, NPM
* **Angular version:** 2.0.X
<!-- Check whether this is still an issue in the most recent Angular version -->
Angular 4.10

* **Browser:** [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
<!-- All browsers where this could be reproduced -->
 
* **Language:** [all | TypeScript X.X | ES6/7 | ES5]

* **Node (for AoT issues):** `node --version` =
Troubles adding an svg
issue
created
jason-candeo
username_0
Seems to be fixed by using [hash] instead of [chunkhash] in webpack.common.js
comment
created
fulls1z3
username_1
@username_0 thank for reporting this, I'll check this soon.
comment
closed
fulls1z3
username_1
issue
created
fulls1z3
username_1
@username_0  done 👍
comment