@dotcms/angular 1.2.5-next.5 → 1.2.5-next.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -198,7 +198,7 @@ Add the proxy configuration to your `angular.json`:
198
198
  "my-app": {
199
199
  "architect": {
200
200
  "serve": {
201
- "builder": "@angular-devkit/build-angular:dev-server",
201
+ "builder": "@angular/build:dev-server",
202
202
  "options": {
203
203
  "proxyConfig": "src/proxy.conf.json"
204
204
  }
@@ -287,26 +287,26 @@ You can control the image quality using the `loaderParams` attribute. This is pa
287
287
  selector: 'optimized-image',
288
288
  template: `
289
289
  <!-- High quality for hero images -->
290
- <img
291
- [ngSrc]="heroImagePath"
292
- alt="Hero image"
293
- width="1200"
290
+ <img
291
+ [ngSrc]="heroImagePath"
292
+ alt="Hero image"
293
+ width="1200"
294
294
  height="600"
295
295
  [loaderParams]="{ quality: 85 }" />
296
-
296
+
297
297
  <!-- Lower quality for thumbnails -->
298
- <img
299
- [ngSrc]="thumbnailPath"
300
- alt="Thumbnail"
301
- width="200"
298
+ <img
299
+ [ngSrc]="thumbnailPath"
300
+ alt="Thumbnail"
301
+ width="200"
302
302
  height="150"
303
303
  [loaderParams]="{ quality: 30 }" />
304
-
304
+
305
305
  <!-- Custom language and quality -->
306
- <img
307
- [ngSrc]="imagePath"
308
- alt="Localized image"
309
- width="400"
306
+ <img
307
+ [ngSrc]="imagePath"
308
+ alt="Localized image"
309
+ width="400"
310
310
  height="300"
311
311
  [loaderParams]="{ quality: 60, languageId: '2' }" />
312
312
  `,