yamadapc/js-written-number

Add a way not to include all locales

Open

#43 geöffnet am 3. Juli 2017

Auf GitHub ansehen
 (2 Kommentare) (4 Reaktionen) (0 zugewiesene Personen)JavaScript (121 Forks)github user discovery
enhancementhelp wanted

Repository-Metriken

Stars
 (372 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

There should be a means of not including all locales.

A very simple solution would be to move the logic to lib/core and keep lib/index including all locales, so people would be able to manually require just the logic and the locales they'll use:

import writtenNumber from 'written-number/lib/core';
import writtenNumberEn from 'written-number/lib/i18n/en';
// ...

Contributor Guide