OptionalenvironmentEnvironment configurations for development and production. Both are optional and will use sensible defaults if not provided.
Optionaldevelopment?: CanisterDappEnvironmentConfigDevelopment environment configuration (optional, defaults provided)
Optionalproduction?: CanisterDappEnvironmentConfigProduction environment configuration (optional, defaults provided)
OptionalserverServer proxy to IC configuration (default: all enabled, only applies in Vite dev server)
Optionalapi?: booleanEnable /api proxy (default: true)
OptionalcanisterDashboard?: booleanEnable /canister-dashboard proxy (default: true)
OptionaliiAlternativeOrigins?: booleanEnable /.well-known/ii-alternative-origins proxy (default: true)
OptionalviteCanister ID for Vite dev server environments. This is only needed when running in a Vite dev server where the canister ID cannot be inferred from the URL (e.g., http://localhost:5173). In production and local dfx environments, the canister ID is inferred from the URL. This is also used for proxy rewrites in the Vite dev server.
Plugin configuration interface for enabling/disabling features