Skip to content

Commit

Permalink
Specify node engine minimum version
Browse files Browse the repository at this point in the history
Setting the minimum version of the node engine will make npm to warn or
complain, if node `engine-strict` config is set to true, whenever the
installation environment does not meet this requirement.

Background:

`css-loader` depends on `postcss` that uses native promises. Promises
where introduced in node version 0.12.0. So `css-loader`
*transitively inherits* this dependency.

Related to webpack-contrib#144.
  • Loading branch information
dreyescat committed Jan 11, 2016
1 parent 7d2abba commit 3d9dda4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "0.23.1",
"author": "Tobias Koppers @sokra",
"description": "css loader module for webpack",
"engines": {
"node": ">=0.12.0"
},
"dependencies": {
"css-selector-tokenizer": "^0.5.1",
"cssnano": ">=2.6.1 <4",
Expand Down

0 comments on commit 3d9dda4

Please sign in to comment.