ng-cache-loader icon indicating copy to clipboard operation
ng-cache-loader copied to clipboard

Webpack loader to put HTML partials in the Angular's $templateCache.

Results 9 ng-cache-loader issues
Sort by recently updated
recently updated
newest added

Add support for `srcset` attribute.

Hi, I couldn't use `html-loader` in conjunction but given `ng-cache-loader` has support for resolving URLs, would it be possible to support `srcset` attribute too? ``` #works # does not work...

How can I provide a custom module name based on the entry points provided? Example: `entry: { 'foo' : projPath + '/foo.js', 'bar': projPath + '/bar.js }, ... { test:...

**Affected versions** `webpack`: `3.10.0` `ng-cache-loader`: `>= 0.0.24` **Webpack config** ```javascript { test: /\.html$/, loader: 'ng-cache', ... } ``` **Error** ``` Module build failed: TypeError: Cannot read property 'prefix' of null...

Hello @teux Kindly assist. Webpack 3.10.0 throws an error when processing the html files. angular curly braces output are rendered as modules instead e.g. These relative modules were not found:...

Hi, I have an error with this loader on os x! Always returns `ERROR in ReferenceError: window is not defined.` This is my setup: ``` javascript loaders: [ //... {...

How can I have multiple root for prefix? For example: /User/packman/Projects/packman/ ├─ app/tmpls/field.html └─ components/tmpls/yellow.html loader: "ng-cache?prefix=app and components:**" //can have // => ng-include="'tmpls/field.html'" //or // => ng-include="'tmpls/yellow.html'"

I'm just tried to use ng-cache-loader and got this warning for every file I tried to load. ``` WARNING in ./~/path/to/file Critical dependencies: 2:0-22 the request of a dependency is...

Hello @teux **Version detail** webpack: 5.70.0 ng-cache-loader: 0.0.26 I am using below rules in webpack.config ![image](https://user-images.githubusercontent.com/94387784/218039674-b2aa8e8a-d3a0-418a-9bba-fb0aca63f380.png) In **test.html** ... With this line in **ts file** require('ng-cache-loader?!../../templates/test.html'), it shows **warning** at...