From 9d63031fbbb03cdda67cb5b137565ee2e4e35273 Mon Sep 17 00:00:00 2001 From: Clay Allsopp Date: Mon, 5 Sep 2022 18:49:04 +0000 Subject: [PATCH] Remove unused prop-types dependency --- package.json | 1 - rollup.config.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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' },