feat(SW-550): added sync functionality and sitemap generation * feat(SW-550): added sync functionality and sitemap generation * feat(SW-550): Added support for splitting and saving multiple sitemaps when there are 50000+ urls * feat(SW-550): Updates after PR * feat(SW-550): Added locale to sitemap data * feat(SW-550): Added support for locale based sitemapData * feat(SW-550): Saving alternates of sitemap entries * feat(SW-550): Refactoring to use sitemap utils file * feat(SW-550): Using Netlify.env to get environment variables * feat(SW-550): clarify use of functions Approved-by: Michael Zetterberg
39 lines
871 B
TOML
39 lines
871 B
TOML
[build]
|
|
command = "npm run build"
|
|
publish = ".next"
|
|
|
|
[context.branch-deploy]
|
|
command = "npm run lint && npm run build"
|
|
|
|
[context.deploy-preview]
|
|
command = "npm run lint && npm run build"
|
|
|
|
# [[plugins]]
|
|
# package = "netlify-plugin-cypress"
|
|
# [plugins.inputs]
|
|
# configFile = "cypress.config.ts"
|
|
# [plugins.inputs.postBuild]
|
|
# enable = true
|
|
# start = "npm start"
|
|
# wait-on = "http://127.0.0.1:3000/en/sponsoring"
|
|
# wait-on-timeout = "30" # seconds
|
|
|
|
[build.environment]
|
|
# cache Cypress binary in local "node_modules" folder
|
|
# so Netlify caches it
|
|
CYPRESS_CACHE_FOLDER = "./node_modules/CypressBinary"
|
|
# set TERM variable for terminal output
|
|
TERM = "xterm"
|
|
|
|
[[plugins]]
|
|
package = "@netlify/plugin-nextjs"
|
|
|
|
[images]
|
|
remote_images = [
|
|
"https://imagevault-stage.scandichotels.com.*",
|
|
"https://imagevault.scandichotels.com.*",
|
|
]
|
|
|
|
[functions."sitemap"]
|
|
schedule = "@daily"
|