@donotdev/core 0.1.47 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/vite/index.d.ts CHANGED
@@ -849,6 +849,13 @@ interface I18nOptions extends BaseDiscoveryOptions {
849
849
  /** Example: ['../../packages/shared/locales'] */
850
850
  /** Note: '../../entities/locales' is auto-detected by default, no config needed */
851
851
  additionalPaths?: string[];
852
+ /** Restrict the app to these language codes — everything else is ignored. */
853
+ /** Translation files for any other language stay on disk but contribute */
854
+ /** nothing: no inlined content, no lazy chunk, and supportedLanguages */
855
+ /** shrinks (a single language hides the LanguageSelector automatically). */
856
+ /** Example: only: ['ko'] for a Korean-only app in a multi-language monorepo. */
857
+ /** Default: undefined = every language discovered on disk. */
858
+ only?: string[];
852
859
  }
853
860
 
854
861
  /**