12345678910111213141516171819202122232425 |
- /** @type {import('next').NextConfig} */
- import createNextIntlPlugin from 'next-intl/plugin';
- import path from 'path';
- const withNextIntl = createNextIntlPlugin();
- /** @type {import('next').NextConfig} */
- const nextConfig = {
- output: 'standalone',
- reactStrictMode: true,
- transpilePackages: ['antd-mobile'],
- sassOptions: {
- prependData: `@import "./src/styles/variables.scss";`
- },
- images: {
- remotePatterns: [
- {
- protocol: 'https',
- hostname: '9f.com',
- pathname: '/img/**',
- },
- ],
- },
- };
- export default withNextIntl(nextConfig);
|