next.config.mjs 533 B

1234567891011121314151617181920212223
  1. /** @type {import('next').NextConfig} */
  2. import createNextIntlPlugin from 'next-intl/plugin';
  3. import path from 'path';
  4. const withNextIntl = createNextIntlPlugin();
  5. /** @type {import('next').NextConfig} */
  6. const nextConfig = {
  7. reactStrictMode: true,
  8. sassOptions: {
  9. prependData: `@import "./src/styles/variables.scss";`
  10. },
  11. images: {
  12. remotePatterns: [
  13. {
  14. protocol: 'https',
  15. hostname: '9f.com',
  16. pathname: '/img/**',
  17. },
  18. ],
  19. },
  20. };
  21. export default withNextIntl(nextConfig);