Skip to content

Commit 0cf36ec

Browse files
authored
BREAKING: Remove pkg-resolve as a dep (#243)
Users can still install it manually if they need the functionality.
1 parent 6e9742f commit 0cf36ec

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,13 @@ postcss()
228228
})
229229
```
230230

231+
### jspm Usage
232+
233+
postcss-import can `@import` [jspm](http://jspm.io) dependencies if
234+
[`pkg-resolve`](https://www.npmjs.com/package/pkg-resolve) is installed by the
235+
user. Run `npm install pkg-resolve` to install it. postcss-import should then be
236+
able to import from jspm dependencies without further configuration.
237+
231238
---
232239

233240
## CONTRIBUTING

package.json

-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@
3232
"npmpub": "^3.0.1",
3333
"postcss-scss": "^0.1.3"
3434
},
35-
"optionalDependencies": {
36-
"pkg-resolve": "^0.1.7"
37-
},
3835
"jspm": {
3936
"name": "postcss-import",
4037
"main": "index.js",

0 commit comments

Comments
 (0)