diff --git a/netlify.toml b/netlify.toml index 139901d7..5a4bc8a7 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] publish = "__sapper__/export" - command = "node scripts/createEnv.js && yarn export" + command = "node scripts/createEnv.js && NODE_ENV=production yarn export" [[redirects]] from = "/*"