1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- const { codeInspectorPlugin } = require('code-inspector-plugin')
- const withMDX = require('@next/mdx')({
- extension: /\.mdx?$/,
- options: {
-
-
-
- remarkPlugins: [],
- rehypePlugins: [],
-
-
- },
- })
- const nextConfig = {
- webpack: (config, { dev, isServer }) => {
- config.plugins.push(codeInspectorPlugin({ bundler: 'webpack' }))
- return config
- },
- productionBrowserSourceMaps: false,
-
- pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
- experimental: {
- },
-
- eslint: {
-
-
- ignoreDuringBuilds: true,
- dirs: ['app', 'bin', 'config', 'context', 'hooks', 'i18n', 'models', 'service', 'test', 'types', 'utils'],
- },
- typescript: {
-
- ignoreBuildErrors: true,
- },
- reactStrictMode: true,
- async redirects() {
- return [
- {
- source: '/',
- destination: '/apps',
- permanent: false,
- },
- ]
- },
- output: 'standalone',
- }
- module.exports = withMDX(nextConfig)
|