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"