Skip to content

Commit df4f3ed

Browse files
feat: make use-context-selector a peer requirement
1 parent 2c627f1 commit df4f3ed

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This package is constructed above the [use-context-selector](https://github.com/
2626
This package requires some peer dependencies, which you need to install by yourself.
2727

2828
```bash
29-
yarn add react-easy-context-api react scheduler
29+
yarn add react-easy-context-api use-context-selector scheduler
3030
```
3131

3232
Notes for library authors:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"react",
77
"nexpy"
88
],
9-
"version": "0.1.2",
9+
"version": "0.1.3",
1010
"license": "MIT",
1111
"main": "dist/index.js",
1212
"author": "AllanOliveiraM",

rollup.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import typescript from 'rollup-plugin-typescript2'
22
import commonjs from '@rollup/plugin-commonjs'
3-
import resolve from '@rollup/plugin-node-resolve'
43
import { uglify } from 'rollup-plugin-uglify'
54

65
import packageSettings from './package.json'
@@ -16,6 +15,6 @@ export default {
1615
strict: true,
1716
},
1817
],
19-
plugins: [typescript(), commonjs(), resolve(), uglify()],
18+
plugins: [typescript(), commonjs(), uglify()],
2019
external: ['react', 'react-dom', 'react/jsx-runtime'],
2120
}

0 commit comments

Comments
 (0)