Home / Function/ nextConfig.webpack() — supabase Function Reference

nextConfig.webpack() — supabase Function Reference

Architecture documentation for the nextConfig.webpack() function in next.config.mjs from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/docs/next.config.mjs lines 37–50

  webpack: (config) => {
    config.module.rules.push({
      test: /\.include$/,
      type: 'asset/source',
    })
    config.module.rules.push({
      test: /\.toml$/,
      type: 'json',
      parser: {
        parse: parseToml,
      },
    })
    return config
  },

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free