website2/netlify.toml
2022-04-17 16:28:23 +08:00

45 lines
805 B
TOML

[build]
publish = "public"
functions = "functions"
[build.environment]
NODE_VERSION = "17.8.0"
NPM_VERSION = "8.5.5"
[context.production]
command = "npm run build"
[context.deploy-preview]
command = "npm run build -- -b $DEPLOY_PRIME_URL"
[context.branch-deploy]
command = "npm run build -- -b $DEPLOY_PRIME_URL"
[context.next]
command = "npm run build"
[context.next.environment]
HUGO_ENV = "next"
[[plugins]]
package = "netlify-plugin-submit-sitemap"
[plugins.inputs]
baseUrl = "https://xorm.io/"
sitemapPath = "/sitemap.xml"
ignorePeriod = 0
providers = [
"google",
"bing",
"yandex",
"baidu"
]
[dev]
framework = "#custom"
command = "npm run start"
targetPort = 1313
port = 8888
publish = "public"
autoLaunch = false