futureporn-next/next.config.js

27 lines
604 B
JavaScript

/** @type {import('next').NextConfig} */
const path = require("path");
const nextConfig = {
output: 'standalone',
reactStrictMode: false,
sassOptions: {
includePaths: [path.join(__dirname, "assets", "styles")],
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'futureporn-b2.b-cdn.net',
port: '',
pathname: '/**',
},
],
}
};
const nextReactSvgConfig = {
include: path.resolve(__dirname, './assets/svg'),
};
const withReactSvg = require('next-react-svg')(nextReactSvgConfig);
module.exports = withReactSvg(nextConfig);