-
Notifications
You must be signed in to change notification settings - Fork 3
/
.ipprc.yml
41 lines (39 loc) · 909 Bytes
/
.ipprc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# These will be the folders that will get processed,
# relative to the current working directory
input: src/assets/products
output: src/assets/products_responsive
# Remove this part to disable manifest generation
manifest:
source:
p: path
x: "hash:8"
format:
w: width
h: height
f: format
p: path
x: "hash:8"
# Here is where you customise the pipeline
# This is what the default pipeline looks like
pipeline:
- pipe: resize
options:
breakpoints:
- name: sm
resizeOptions:
width: 190
- name: md
resizeOptions:
width: 260
- name: lg
resizeOptions:
width: 330
- name: xl
resizeOptions:
width: 400
save: "[name]-[breakpoint][ext]"
then:
- pipe: convert
options:
format: webp
save: "[name]-[breakpoint][ext]"