next.config.mjs 611 B

123456789101112131415161718192021222324252627
  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. output: 'standalone',
  8. reactStrictMode: true,
  9. output:"standalone",
  10. transpilePackages: ['antd-mobile'],
  11. sassOptions: {
  12. prependData: `@import "./src/styles/variables.scss";`
  13. },
  14. images: {
  15. remotePatterns: [
  16. {
  17. protocol: 'https',
  18. hostname: '9f.com',
  19. pathname: '/img/**',
  20. },
  21. ],
  22. },
  23. };
  24. export default withNextIntl(nextConfig);