yamadapc/js-written-number

Add a way not to include all locales

Open

#43 ouverte le 3 juil. 2017

Voir sur GitHub
 (2 commentaires) (4 réactions) (0 assignés)JavaScript (121 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (372 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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';
// ...

Guide contributeur