chore: add netlify.toml (#2703)

This commit is contained in:
Shawn Erquhart 2019-09-27 19:39:28 -04:00 committed by GitHub
parent 29b8024985
commit d2ac377e40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

8
netlify.toml Normal file
View File

@ -0,0 +1,8 @@
[build]
base = "/"
command = "yarn build:demo"
publish = "dev-test/"
[build.environment]
YARN_FLAGS = "--no-ignore-optional"
YARN_VERSION = "1.7.0"

7
website/netlify.toml Normal file
View File

@ -0,0 +1,7 @@
[build]
base = "website/"
command = "yarn install && yarn build"
publish = "website/dist/"
[build.environment]
NODE_VERSION = "8"