|
var filename = loaderUtils.getRemainingRequest(this); |
getRemainingRequest contains the full module identifier that also includes all remaining loaders and may potentially create a lot of junk when used as the filename identifier for the view in makeRenderer.
Look at NetMatch/webpack-stache-loader for a better way to get a clean template name based on the clean resourcePath.