Fix: mergeConfigs ensures the plugins property exists (fixes #1191).