samvera/serverless-iiif

View on GitHub
docs/next.config.js

Summary

Maintainability
A
0 mins
Test Coverage
const withNextra = require('nextra')({
  theme: 'nextra-theme-docs',
  themeConfig: './theme.config.jsx'
});

module.exports = withNextra({
  basePath: process.env.NEXTJS_BASE_PATH || '',
  output: 'export',
  images: {
    unoptimized: true
  }
});

// If you have other Next.js configurations, you can pass them as the parameter:
// module.exports = withNextra({ /* other next.js config */ })