Skip to content

Commit

Permalink
Downgrade css-loader dependency for Node 0.10.x compatibility.
Browse files Browse the repository at this point in the history
Running the build task under Node 0.10.x fails with the following error:

> ERROR in ./~/css-loader!./~/sass-loader!./src/components/widget/style.scss
> Module build failed: ReferenceError: Promise is not defined

See webpack-contrib/css-loader#144 for details.

Node 0.10.x is the latest version available in the Ubuntu package repository, so it's still widely used in dev environments, and should be supported.
  • Loading branch information
iandunn committed Dec 16, 2015
1 parent 7b775a6 commit 116b252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"babel-eslint": "^4.1.3",
"babel-loader": "5.3.2",
"babel-runtime": "5.8.25",
"css-loader": "0.23.0",
"css-loader": "0.18.0",
"eslint": "1.7.3",
"eslint-plugin-react": "3.6.3",
"extract-text-webpack-plugin": "^0.9.1",
Expand Down

0 comments on commit 116b252

Please sign in to comment.