optimizely / nuclear-js

Reactive Flux built with ImmutableJS data structures. Framework agnostic.
https://optimizely.github.io/nuclear-js/
MIT License
2.23k stars 141 forks source link

add missing handler for JSON file types in isomorphic flux chat example #168

Closed jopecko closed 9 years ago

jopecko commented 9 years ago

Fixes the following issue when running npm run build in the Isomorphic Flux Chat Example

ERROR in ./~/yargs/~/os-locale/~/lcid/lcid.json
    Module parse failed: /Users/joe/tmp/nuclear-js/examples/isomorphic-flux-chat/node_modules/yargs/node_modules/os-locale/node_modules/lcid/lcid.json Line 2: Unexpected token :
    You may need an appropriate loader to handle this file type.
    | {
    |   "af_ZA": 1078,
    |   "am_ET": 1118,
    |   "ar_AE": 14337,
     @ ./~/yargs/~/os-locale/~/lcid/index.js 3:10-32
bhamodi commented 9 years ago

LGTM. Thanks @jopecko!