diff --git a/packages/skin-museum-client/.env b/packages/skin-museum-client/.env deleted file mode 100644 index 6f809cc2..00000000 --- a/packages/skin-museum-client/.env +++ /dev/null @@ -1 +0,0 @@ -SKIP_PREFLIGHT_CHECK=true diff --git a/packages/skin-museum-client/netlify.toml b/packages/skin-museum-client/netlify.toml index 0088d48e..eff7cbba 100644 --- a/packages/skin-museum-client/netlify.toml +++ b/packages/skin-museum-client/netlify.toml @@ -6,13 +6,17 @@ ID = "be420a16-4ef3-43b1-ac62-35869bdf8679" # Settings in the [build] context are global and are applied to all contexts # unless otherwise overridden by more specific contexts. [build] - environment = { NODE_VERSION = "17.3.0" } # Directory (relative to root of your repo) that contains the deploy-ready # HTML files and assets generated by the build. publish = "build/" # Default build command. command = "npm run build" +[build.environment] + NODE_VERSION = "17.3.0" + SKIP_PREFLIGHT_CHECK = "true" + NETLIFY_USE_YARN = "true" + [[redirects]] from = "/sitemap*"