Created
January 23, 2022 04:50
-
-
Save AndreBClark/d1506e1b569a79c9a28c093b48ceebd5 to your computer and use it in GitHub Desktop.
netlify build settings for lunarium site
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[context.main] | |
base = "/" | |
command = "yarn workspace frontend build" | |
publish = "frontend/dist" | |
workspace = "frontend" | |
[[plugins]] | |
package = "netlify-plugin-subfont" | |
[plugins.inputs] | |
inlineCss = true | |
inlineFonts = true | |
fallbacks = true | |
[[plugins]] | |
package = "netlify-plugin-inline-critical-css" | |
[[context.main.plugins]] | |
package = "netlify-plugin-html-validate" | |
[context.main.plugins.inputs] | |
config = "frontend/.htmlvalidate.json" | |
ext = "html" | |
path = "frontend/dist" | |
[[context.main.plugins]] | |
package = "netlify-plugin-submit-sitemap" | |
[context.studio] | |
base = "/" | |
workspace = "studio" | |
publish = "studio/dist" | |
command = "yarn workspace studio build" | |
ignore = "git diff --quiet $COMMIT_REF $CACHED_COMMIT_REF -- studio/" | |
[[redirects]] | |
from = "/*" | |
to = "/index.html" | |
status= 200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment