diff --git a/example/package.json b/example/package.json index 7c6ce61..d09ecf1 100644 --- a/example/package.json +++ b/example/package.json @@ -13,6 +13,7 @@ "body-parser": "^1.13.3", "express": "^4.13.3", "express-graphql": "^0.3.0", + "graphql": "^0.4.4", "multer": "^1.0.3", "react": "^0.13.3", "react-redux": "^0.8.2", diff --git a/example/webpack.config.js b/example/webpack.config.js index 5134aab..81337ee 100644 --- a/example/webpack.config.js +++ b/example/webpack.config.js @@ -15,7 +15,10 @@ module.exports = { ], resolve: { extensions: ['', '.js', '.jsx'], - modulesDirectories: ['node_modules', 'src'] + root: [ + path.join(__dirname, 'node_modules'), + path.join(__dirname, 'src') + ], }, module: { loaders: [