forked from qburst/vue-select
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
25 lines (22 loc) · 851 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
# Settings in the [build] context are global and are applied to all contexts
# unless otherwise overridden by more specific contexts.
# @see https://www.netlify.com/docs/netlify-toml-reference/
[build]
base = "docs"
publish = "docs/.vuepress/dist"
command = "yarn build"
# Deploy Preview context
#
# All deploys resulting from a pull/merge request will
# inherit these settings.
[context.deploy-preview]
command = "yarn build:preview"
# Branch Deploy context: all deploys that are not from a pull/merge request or
# from the Production branch will inherit these settings.
[context.branch-deploy]
command = "yarn build:preview"
# Redirects and headers are GLOBAL for all builds – they do not get scoped to
# contexts no matter where you define them in the file.
[[redirects]]
from = "/guide/templating.html"
to = "/guide/slots.html"