Skip to content

Commit

Permalink
webpack's css-loader requires Promise polyfill to work
Browse files Browse the repository at this point in the history
  • Loading branch information
ryu1kn committed Mar 27, 2016
1 parent ad17f1b commit 4e9b612
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"devDependencies": {
"css-loader": "^0.23.1",
"es6-promise": "^3.1.2",
"eslint": "^2.5.1",
"style-loader": "^0.13.1",
"webpack": "^1.12.14"
Expand Down
1 change: 1 addition & 0 deletions frontend/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('es6-promise').polyfill();

module.exports = {
entry: './entry.js',
Expand Down

1 comment on commit 4e9b612

@ryu1kn
Copy link
Owner Author

@ryu1kn ryu1kn commented on 4e9b612 Mar 27, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Promise is not defined error in 0.19.0
webpack-contrib/css-loader#144

Please sign in to comment.