const config = { '**/*.ts?(x)': () => 'tsc -p tsconfig.json --noEmit', '**/*.(ts|tsx|js|jsx)': ['eslint --cache --fix', 'prettier --write'], '**/*.(md|json)': 'prettier --write', '**/*.scss': ['stylelint --fix', 'prettier --write'], '*': ['cspell --no-must-find-files --no-progress'], }; export default config; '/>
aboutsummaryrefslogtreecommitdiffstats
path: root/next-sitemap.config.js
blob: 348ea0bcb0fc315a5e8e43d6504139e4fee8212b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/** @type {import('next-sitemap').IConfig} */

const isStaging = process.env.APP_ENV === 'staging';

module.exports = {
  siteUrl: isStaging
    ? process.env.NEXT_PUBLIC_STAGING_APP_URL
    : process.env.NEXT_PUBLIC_APP_URL,
  generateRobotsTxt: true,
  changefreq: null,
  priority: null,
  exclude: ['/feed.xml', '/feed.json', '/atom.xml'],
};