Skip to content

Commit b794c8e

Browse files
committed
Merge pull request #168 from jopecko/missing-json-loader
add missing handler for JSON file types in isomorphic flux chat example
2 parents 50f01fc + 028c736 commit b794c8e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

examples/isomorphic-flux-chat/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"author": "Jordan Garcia",
77
"license": "ISC",
88
"dependencies": {
9+
"json-loader": "^0.5.3",
910
"keymirror": "^0.1.1",
1011
"nuclear-js": "^1.1.1",
1112
"nuclear-js-react-addons": "jordangarcia/nuclear-js-react-addons#051c39b10c4af9af7007216b06fccbdf79994529",

examples/isomorphic-flux-chat/webpack.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ module.exports = [{
5555
// don't try to load them ... just make the require calls not break
5656
test: /\.css$/,
5757
loader: 'css',
58+
}, {
59+
test: /\.json$/,
60+
loader: "json-loader"
5861
}],
5962
},
6063

0 commit comments

Comments
 (0)