1234567891011121314151617181920212223242526272829303132 |
- /** @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: {
- prependData: `@import "./src/styles/variables.scss";`,
- },
- images: {
- remotePatterns: [
- {
- protocol: "https",
- hostname: "9f.com",
- pathname: "/img/**",
- },
- {
- protocol: "https",
- hostname: "images.hibigwin.com",
- pathname: "/9f/**",
- },
- ],
- },
- };
- export default withNextIntl(nextConfig);
|