build config with karma