1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- /** @type {import('next').NextConfig} */
- import createNextIntlPlugin from "next-intl/plugin";
- const withNextIntl = createNextIntlPlugin();
- /** @type {import('next').NextConfig} */
- const nextConfig = {
- output: "standalone",
- reactStrictMode: true,
- env: {
- BUILD_ENV: process.env.BUILD_ENV,
- },
- transpilePackages: ["antd-mobile"],
- sassOptions: {
- quietDeps: true,
- prependData: `@import "./src/styles/variables.scss";`,
- },
- logging: {
- fetches: {
- fullUrl: true,
- },
- },
- experimental: {
- instrumentationHook: true,
- 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);
|