diff --git a/package.json b/package.json index 7f074e4653..9ad4a3553e 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "webpack": "^1.12.13" }, "dependencies": { + "es6-promise": "^3.3.0", "moment": "^2.8.4", "preact": "^4.5.1", "preact-compat": "^1.7.0", diff --git a/webpack.config.js b/webpack.config.js index 756ad8cd24..f04c0e23f4 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,3 +1,6 @@ +// Support for Node 0.10 +// See https://github.com/webpack/css-loader/issues/144 +require('es6-promise').polyfill(); var _ = require('underscore'); var path = require('path'); var sourcemaps = 'inline-source-map';