aleclarson / vite-tsconfig-paths

Support for TypeScript's path mapping in Vite
MIT License
1.35k stars 50 forks source link

Peer dependency warning when installed alongside Vitest. #89

Closed wadefletch closed 1 year ago

wadefletch commented 1 year ago

I'm using this plugin in a backend repo that uses Vitest as a test runner but not Vite as a bundler. This gives a peer dependency warning about missing Vite, even though the plugin works perfectly with Vitest in it's place. Could vitest also fulfill the requirement that triggers this warning? Thanks!

aleclarson commented 1 year ago

PR welcome that removes the peerDependencies object from package.json entirely 👍

wadefletch commented 1 year ago

PR submitted 👍

wadefletch commented 1 year ago

@aleclarson Any chance this could be reviewed and potentially merged?