Files
dotfiles/scaffolds/nextjs/next.config.js
2022-09-01 23:52:07 +03:00

18 lines
512 B
JavaScript

/* eslint-disable @typescript-eslint/no-var-requires */
const withTM = require('next-transpile-modules')(['@mui/material']) // pass the modules you would like to see transpiled
const withImages = require('next-images')
const { i18n } = require('./next-i18next.config')
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
reactStrictMode: true,
swcMinify: true,
i18n,
images: {
domains: ['placeholder.photo'],
},
}
module.exports = withImages(withTM(nextConfig))