rofrischmann/fela

View on GitHub
website/next.config.js

Summary

Maintainability
A
0 mins
Test Coverage
var withBundleAnalyzer = require('@next/bundle-analyzer')({
  enabled: process.env.ANALYZE === 'true',
})

module.exports = withBundleAnalyzer({
  async redirects() {
    return [
      {
        source: '/docs',
        destination: '/docs/latest/intro/getting-started',
        permanent: true,
      },
      {
        source: '/benchmarks',
        destination: '/benchmarks/benchmarks.html',
        permanent: true,
      },
    ]
  },
})