Skip to content

Commit

Permalink
Add 'style' node to package.json
Browse files Browse the repository at this point in the history
Many modules in npm are starting to expose their css entry files in their `package.json` files. This allows tools like `postcss-import`, `parcelify`, `npm-css`, `rework-npm` and `npm-less` to import *rc-slider* straight from node_modules directory.

Example:
```css
@import 'rc-slider';
```

Reference:
twbs/bootstrap#12441
  • Loading branch information
heldr authored Jul 27, 2016
1 parent 826fd73 commit 80023f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
],
"licenses": "MIT",
"main": "./lib/index.js",
"style": "./assets/index.css",
"config": {
"port": 8005
},
Expand Down

0 comments on commit 80023f4

Please sign in to comment.