From d2ac377e4025ba8f5e5b20a24c3d3fce0ab17608 Mon Sep 17 00:00:00 2001 From: Shawn Erquhart Date: Fri, 27 Sep 2019 19:39:28 -0400 Subject: [PATCH] chore: add netlify.toml (#2703) --- netlify.toml | 8 ++++++++ website/netlify.toml | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 netlify.toml create mode 100644 website/netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 00000000..6b279ed7 --- /dev/null +++ b/netlify.toml @@ -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" diff --git a/website/netlify.toml b/website/netlify.toml new file mode 100644 index 00000000..5a67cf09 --- /dev/null +++ b/website/netlify.toml @@ -0,0 +1,7 @@ +[build] + base = "website/" + command = "yarn install && yarn build" + publish = "website/dist/" + + [build.environment] + NODE_VERSION = "8"