Add es6-promise polyfill to webpack config

This commit is contained in:
Grant Nestor 2016-09-14 10:44:57 -07:00
parent 179bb24fbf
commit 7e3e9f31aa
2 changed files with 4 additions and 0 deletions

View File

@ -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",

View File

@ -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';