globalizejs/globalize

Build: check built files don't contain external dependencies

Open

#371 ouverte le 19 déc. 2014

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)JavaScript (645 forks)batch import
help wanted

Métriques du dépôt

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

Description

We just dealt with failures in functional tests that turned out to be caused by cldr/supplemental being added as a dependecy in one place, but not properly included in the build in a different place (requirejs build configuration, exclude option).

To make it easier to spot this kind of issue, we should write a build task that looks at files built in dist/ and throws an error if any file contains the Cldrjs library, or any other always-excluded dependency.

Guide contributeur