diff --git a/package.json b/package.json index c5c2df0db..99da7fd3f 100644 --- a/package.json +++ b/package.json @@ -64,8 +64,8 @@ "webpack-dev-server": "^1.7.0" }, "jest": { - "rootDir": "src", - "scriptPreprocessor": "/node_modules/6to5-jest", + "rootDir": "./src", + "scriptPreprocessor": "../node_modules/6to5-jest", "unmockedModulePathPatterns": [ "react" ] diff --git a/webpack.config.js b/webpack.config.js index 8fd1d6bfc..68b96995c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -84,6 +84,10 @@ var config = { test: /\.png/, loader: 'url-loader?limit=10000&mimetype=image/png' }, + { + test: /\.svg/, + loader: 'url-loader?limit=10000&mimetype=image/svg+xml' + }, { test: /\.jsx?$/, exclude: /node_modules/,