-
Notifications
You must be signed in to change notification settings - Fork 195
/
netlify.toml
29 lines (26 loc) · 705 Bytes
/
netlify.toml
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
[build]
publish = "dist/"
command = "yarn prepare:site"
# Other projects use the default /storybook/ pathing;
# this remaps this to our /preview/ path.
# Why? Using preview decouples us from the tool.
[[redirects]]
from = "/storybook/"
to = "/preview/"
# If skip_processing = true, all other settings are ignored
[build.processing]
skip_processing = false
[build.processing.css]
bundle = true
minify = true
[build.processing.js]
bundle = true
minify = true
[build.processing.html]
pretty_urls = true
[build.processing.images]
compress = true
# Skip all post processing in deploy previews,
# ignoring any other settings
[context.deploy-preview.processing]
skip_processing = true