How can I extract
In some loader of webpack such as ng-cache-loader, I found they are able to strip the middle part of a path by specifying '//'.
From ng-cache-loader Docs:
Prefix can strip the real directory name (use //):
// => ng-include="'public/far/path/templates/myPartial.html'"
I can't find any code that process the path in ng-cache-loader source code.
Maybe I can use the same way they did to strip the middle part of path?