next.config.mjs 295 B

123456789101112131415161718
  1. /** @type {import('next').NextConfig} */
  2. const nextConfig = {
  3. experimental: {
  4. appDir: true,
  5. },
  6. webpack(config) {
  7. config.module.rules.push({
  8. test: /\.svg$/,
  9. use: ["@svgr/webpack"],
  10. });
  11. return config;
  12. },
  13. output: "standalone",
  14. };
  15. export default nextConfig;