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');
|
2024-09-06 11:22:55 +00:00
|
|
|
const json = require('./package.json');
|
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')],
|
2024-01-03 13:56:57 +00:00
|
|
|
},
|
2024-09-06 11:22:55 +00:00
|
|
|
env: {
|
|
|
|
version: json.version
|
|
|
|
},
|
2024-03-27 21:06:03 +00:00
|
|
|
typescript: {
|
|
|
|
// !! WARN !!
|
|
|
|
// Dangerously allow production builds to successfully complete even if
|
|
|
|
// your project has type errors.
|
|
|
|
// !! WARN !!
|
|
|
|
ignoreBuildErrors: true,
|
|
|
|
},
|
2024-01-17 14:41:46 +00:00
|
|
|
images: {
|
|
|
|
unoptimized: true
|
|
|
|
},
|
|
|
|
experimental: {
|
|
|
|
taint: true,
|
2024-01-24 17:43:16 +00:00
|
|
|
// typedRoutes: true
|
2024-01-17 14:41:46 +00:00
|
|
|
},
|
2024-07-02 15:47:28 +00:00
|
|
|
// output: 'standalone',
|
2024-01-17 14:41:46 +00:00
|
|
|
poweredByHeader: false,
|
|
|
|
productionBrowserSourceMaps: true,
|
|
|
|
trailingSlash: true
|
2023-12-21 21:22:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = withNextIntl(nextConfig);
|