Athron98 Ecosystem

Configuration

Adjust Clarity behavior through the config file and environment variables.

Configuration

Clarity configuration is optional. The defaults are already production-optimized.

Config file

// clarity.config.ts
import { defineConfig } from 'clarity';

export default defineConfig({
  routes: './src/pages',
  output: 'static',
});

Environment variables

VariableDefaultDescription
CLARITY_ENVproductionRuntime mode
CLARITY_PORT4321Dev server port