globalize icon indicating copy to clipboard operation
globalize copied to clipboard

Add update with webpack example

Open ButuzGOL opened this issue 6 years ago • 0 comments

i tried to add this lines in https://github.com/globalizejs/globalize/blob/master/examples/app-npm-webpack/app/index.js#L1

Globalize.load( require( "cldr-data" ).entireSupplemental() );
Globalize.load( require( "cldr-data" ).entireMainFor( "en", "es" ) );

got a lot of warnings and error

ERROR in ./~/cldr-data/index.js
Module not found: Error: Cannot resolve module 'fs' in /Users/butuzgol/Desktop/docs/globalize/examples/app-npm-webpack/node_modules/cldr-data
 @ ./~/cldr-data/index.js 14:10-23

ButuzGOL avatar Mar 27 '18 15:03 ButuzGOL