Show local file path instead of confusing webpack://

This commit is contained in:
Joe Haddad
2016-11-29 17:35:24 -05:00
parent 57b1673eb8
commit 1e27dad642

View File

@@ -214,7 +214,7 @@
const elemAnchor = document.createElement('a')
applyStyles(elemAnchor, anchorStyle)
elemAnchor.href = url
elemAnchor.appendChild(document.createTextNode(url))
elemAnchor.appendChild(document.createTextNode(url.replace('webpack://', '.')))
elemLink.appendChild(elemAnchor)
elem.appendChild(elemLink)