123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- /** @type {import('next').NextConfig} */
- import createNextIntlPlugin from "next-intl/plugin";
- const withNextIntl = createNextIntlPlugin();
- /** @type {import('next').NextConfig} */
- const nextConfig = {
- // output: process.env.NODE_ENV === "develop" ? undefined : "standalone",
- reactStrictMode: false,
- env: {
- BUILD_ENV: process.env.BUILD_ENV,
- },
- transpilePackages: ["antd-mobile"],
- sassOptions: {
- quietDeps: true,
- prependData: `@import "./src/styles/variables.scss";`,
- },
- logging: {
- fetches: {
- fullUrl: true,
- },
- },
- experimental: {
- staleTimes: {
- dynamic: 0,
- static: 180,
- },
- scrollRestoration: true,
- },
- images: {
- domains: [
- "minio.tiktokjakjkl.icu",
- "bcwin.s3.sa-east-1.amazonaws.com",
- "192.168.0.237",
- "static.tiktokjakjkl.icu",
- ],
- remotePatterns: [
- {
- protocol: "https",
- hostname: "minio.tiktokjakjkl.icu",
- pathname: "*",
- },
- {
- protocol: "https",
- hostname: "images.hibigwin.com",
- pathname: "*",
- },
- {
- protocol: "https",
- hostname: "bcwin.s3.sa-east-1.amazonaws.com",
- pathname: "*",
- },
- {
- protocol: "https",
- hostname: "static.tiktokjakjkl.icu",
- pathname: "*",
- },
- ],
- },
- };
- export default withNextIntl(nextConfig);
|