dojo / cli-build-webpack

🚀 **DEPRECATED** Dojo 2 - cli command for building applications
http://dojo.io
Other
4 stars 19 forks source link

CLDR paths are not parsed when building with tests #246

Closed mwistrand closed 6 years ago

mwistrand commented 6 years ago

Bug

When building with the --withTests option, the CLDR paths are not parsed from the source and therefore no CLDR data are injected into the build.

Package Version: 0.2.1

Code

import loadCldrData from '@dojo/i18n/cldr/load';

loadCldrData([ 'path/to/cldr/data.json' ]);

Expected behavior:

The build should parse and load path/to/cldr/data.json into the build.

Actual behavior:

The build does not parse the URL and injects only an empty object.