@divriots/jampack 0.24.0 → 0.24.2

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
@@ -167,7 +167,6 @@ becomes
167
167
  `jampack` optimizes assets above-the-fold ⬆️.
168
168
 
169
169
  - Images are loaded with higher priority.
170
- - Images are compress as Progressive JPEG.
171
170
  - Small images are embedded in HTML.
172
171
 
173
172
  Lazy-load assets below-the-fold ⬇️.
@@ -115,6 +115,8 @@ export class Resource {
115
115
  }
116
116
  }
117
117
  export function isLocal(src) {
118
+ if (src.startsWith('/cdn_cgi/'))
119
+ return false;
118
120
  const u = url.parse(src);
119
121
  return !u.host;
120
122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@divriots/jampack",
3
- "version": "0.24.0",
3
+ "version": "0.24.2",
4
4
  "cache-version": {
5
5
  "img": "v1",
6
6
  "img-ext": "v1"