Skip to content

Commit 116b252

Browse files
committed
Downgrade css-loader dependency for Node 0.10.x compatibility.
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.
1 parent 7b775a6 commit 116b252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"babel-eslint": "^4.1.3",
1212
"babel-loader": "5.3.2",
1313
"babel-runtime": "5.8.25",
14-
"css-loader": "0.23.0",
14+
"css-loader": "0.18.0",
1515
"eslint": "1.7.3",
1616
"eslint-plugin-react": "3.6.3",
1717
"extract-text-webpack-plugin": "^0.9.1",

0 commit comments

Comments
 (0)