diff --git a/package.json b/package.json index 15f8ef96..09cf971e 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,6 @@ } }, "dependencies": { - "prop-types": "^15.7.2", "react-script-hook": "^1.6.0" }, "peerDependencies": { diff --git a/rollup.config.js b/rollup.config.js index 3de86a00..28491059 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -9,7 +9,7 @@ import pkg from './package.json'; export default [ { input: 'src/index.ts', - external: ['react', 'prop-types'], + external: ['react'], output: [ { file: pkg.main, format: 'cjs' }, { file: pkg.module, format: 'es' },