|
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.
can-stache-loader/index.js
Line 42 in ba89ff1
getRemainingRequestcontains 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 inmakeRenderer.Look at NetMatch/webpack-stache-loader for a better way to get a clean template name based on the clean
resourcePath.