From b6cdfce0277cf2d2023cd7427ee32390ce8e419b Mon Sep 17 00:00:00 2001 From: Gerald Onyango Date: Mon, 5 Feb 2018 11:38:33 -0500 Subject: [PATCH] Add "--no-ignore-optional" for netlify This is currently necessary for Netlify since switching to yarn version 1.3.2 by default. --- netlify.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index b46479f..5b8a225 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,5 @@ [build] publish = "public" - command = "npm run build" \ No newline at end of file + command = "npm run build" +[build.environment] + YARN_FLAGS = "--no-ignore-optional"