diff --git a/package.json b/package.json index 10307bdd..6c057825 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "test": "grunt test", "dev": "concurrently --kill-others --raw \"grunt server\" \"grunt test\"", "build": "grunt build", - "webpack-test": "karma start test/config/karma.conf.js --single-run" + "webpack-test": "webpack --config webpack/config.js && karma start test/config/karma.conf.js --single-run" }, "devDependencies": { "babel-core": "^6.22.1", diff --git a/webpack/config.js b/webpack/config.js index 665c89d3..c39bfd60 100644 --- a/webpack/config.js +++ b/webpack/config.js @@ -10,8 +10,8 @@ module.exports = { path: path.join(__dirname, '../temp'), filename: '[name].js' }, - // cache: false, - // devtool: 'source-map', + cache: false, + devtool: 'source-map', module: { loaders: [{ test: /\.js$/,