@hkdigital/lib-sveltekit 0.0.85 → 0.0.86
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.
@@ -7,24 +7,29 @@ const DEFAULT_PRESETS = {
|
|
7
7
|
},
|
8
8
|
gradient: {
|
9
9
|
format: 'jpg',
|
10
|
-
quality: '95'
|
10
|
+
quality: '95',
|
11
|
+
as: 'metadata'
|
11
12
|
},
|
12
13
|
photo: {
|
13
14
|
format: 'jpg',
|
14
|
-
quality: '95'
|
15
|
+
quality: '95',
|
16
|
+
as: 'metadata'
|
15
17
|
},
|
16
18
|
drawing: {
|
17
19
|
format: 'avif',
|
18
|
-
quality: '90'
|
20
|
+
quality: '90',
|
21
|
+
as: 'metadata'
|
19
22
|
},
|
20
23
|
savedata: {
|
21
24
|
format: 'avif',
|
22
|
-
quality: '85'
|
25
|
+
quality: '85',
|
26
|
+
as: 'metadata'
|
23
27
|
},
|
24
28
|
blur: {
|
25
29
|
format: 'avif',
|
26
30
|
quality: '50',
|
27
|
-
blur: '75'
|
31
|
+
blur: '75',
|
32
|
+
as: 'metadata'
|
28
33
|
}
|
29
34
|
};
|
30
35
|
|
@@ -105,6 +110,7 @@ export function generateDefaultDirectives(options) {
|
|
105
110
|
if (params.has('responsive')) {
|
106
111
|
params.set('as', 'metadata');
|
107
112
|
}
|
113
|
+
|
108
114
|
// > Process presets
|
109
115
|
|
110
116
|
if (presetName) {
|