diff --git a/README.md b/README.md index 0256abc..5c5495e 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,10 @@ export default {
+## Use in commonjs environment + +Because [vite6 plan to deprecate commonjs node api](https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated), this plugin deprecate the commonjs support from 1.x. If you want use this plugin in commonjs environment, check [0.x](https://github.com/tjx666/unplugin-detect-duplicated-deps/tree/0.x) + ## Related Projects - [duplicate-package-checker-webpack-plugin](https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin)