Files
siv/next.config.js
2024-05-22 21:18:46 -07:00

30 lines
699 B
JavaScript

// @ts-check
/* eslint-disable @typescript-eslint/no-var-requires */
const withMDX = require('@next/mdx')()
const withTM = require('next-transpile-modules')(['lodash-es'])
/**
* @type {import('next').NextConfig}
**/
const nextConfig = withMDX(
withTM({
async redirects() {
return [
{
destination: 'https://docs.siv.org/research-in-progress/ukraine',
permanent: true,
source: '/ukraine',
},
]
},
typescript: {
// !! WARN !!
// Dangerously allow production builds to successfully complete even if
// your project has type errors.
// ignoreBuildErrors: true,
},
}),
)
module.exports = nextConfig