wp-unused

Util to find unused code in webpack based project

Usage no npm install needed!

<script type="module">
  import wpUnused from 'https://cdn.skypack.dev/wp-unused';
</script>

README

wp-unused

Util to detect deadcode in webpack-based project

Install

npm i --save-dev wepack webpack-cli wp-unused

Usage

npx wp-unused ./path/to/src ./path/to/webpack.config.js