Skip to content

Commit

Permalink
docs: add commonjs user part
Browse files Browse the repository at this point in the history
  • Loading branch information
tjx666 committed Jan 19, 2024
1 parent 3758a7b commit 1c3c9da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ export default {

<br></details>

## 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)
Expand Down

0 comments on commit 1c3c9da

Please sign in to comment.