32 lines
590 B
JavaScript
32 lines
590 B
JavaScript
// @ts-check
|
|
const withNextIntl = require('next-intl/plugin')();
|
|
const path = require('path');
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
compiler: {
|
|
styledComponents: {
|
|
ssr: true,
|
|
displayName: true,
|
|
namespace: 'bbuddy'
|
|
}
|
|
},
|
|
sassOptions: {
|
|
includePaths: [path.join(__dirname, 'styles')],
|
|
},
|
|
images: {
|
|
unoptimized: true
|
|
},
|
|
experimental: {
|
|
taint: true,
|
|
// typedRoutes: true
|
|
},
|
|
output: 'export',
|
|
distDir: 'dist',
|
|
poweredByHeader: false,
|
|
productionBrowserSourceMaps: true,
|
|
trailingSlash: true
|
|
};
|
|
|
|
module.exports = withNextIntl(nextConfig);
|