Open ViktorSoroka07 opened 1 month ago
So the moment the jscpd is imported, the bin IIFE is executed which is not desired. The latest v3 does not have such a problem. I'm using it for now.
bin
To Reproduce Call API using the guide https://github.com/kucherenko/jscpd?tab=readme-ov-file#programming-api. Make sure to not use .jscpd.json. In my case, I wanted to configure everything inside either detectClones or jscpd function.
.jscpd.json
detectClones
jscpd
Expected behavior It works
Screenshots
v3 bundle output
v4 bundle output
Desktop (please complete the following information):
thank you, will fix
So the moment the jscpd is imported, the
bin
IIFE is executed which is not desired. The latest v3 does not have such a problem. I'm using it for now.To Reproduce Call API using the guide https://github.com/kucherenko/jscpd?tab=readme-ov-file#programming-api. Make sure to not use
.jscpd.json
. In my case, I wanted to configure everything inside eitherdetectClones
orjscpd
function.Expected behavior It works
Screenshots
v3 bundle output
v4 bundle output
Desktop (please complete the following information):