bbuddy-ui/next.config.js

23 lines
434 B
JavaScript
Raw Normal View History

2023-12-21 21:22:13 +00:00
// @ts-check
const withNextIntl = require('next-intl/plugin')();
2023-12-28 21:14:28 +00:00
const path = require('path');
2023-12-21 21:22:13 +00:00
/** @type {import('next').NextConfig} */
const nextConfig = {
compiler: {
styledComponents: {
ssr: true,
displayName: true,
namespace: 'bbuddy'
}
2023-12-28 21:14:28 +00:00
},
sassOptions: {
includePaths: [path.join(__dirname, 'styles')],
},
output: 'export',
cleanDistDir: true,
distDir: 'dist'
2023-12-21 21:22:13 +00:00
};
module.exports = withNextIntl(nextConfig);