Skip to content

Commit a947594

Browse files
committed
chore(jampack): adjust features per stability
- Disable inline_critical_css due to unstable style loading; should re-enable after fix - Disable video autoplay_lazyload (jampack-lozad class override bug upstream); keep off until upstream release includes fix - Enable image CDN optimization (process: optimize) to prep for future CDN adoption (e.g., Cloudflare Images); no effect for current jsDelivr
1 parent 89c5757 commit a947594

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

jampack.config.mjs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,17 @@ export default {
33
browserslist: '> 0.2%, last 2 versions, Firefox ESR, not dead and fully supports loading-lazy-attr', // defaults = '> 0.5%, last 2 versions, Firefox ESR, not dead'
44
},
55
css: {
6-
inline_critical_css: true,
6+
inline_critical_css: false,
7+
},
8+
image: {
9+
cdn: {
10+
process: 'optimize',
11+
},
12+
},
13+
video: {
14+
autoplay_lazyload: {
15+
when: 'never',
16+
}
717
},
818
misc: {
919
prefetch_links: 'in-viewport',

0 commit comments

Comments
 (0)