webpack-clone-detection Installation npm i webpack-clone-detection -D Usage const CloneDetection = require( 'webpack-clone-detection' ) // in your webpack config { plugins: [ new CloneDetection() ] } License MIT