You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Desktop (please complete the following information):
OS: MacOS Sonoma
OS Version 14.5
NodeJS Version v18.20.1
jscpd version 4.0.5
The text was updated successfully, but these errors were encountered:
ViktorSoroka07
changed the title
In v4 API is not working compoletely because the everything is bundled in one file
In v4 API is not working compoletely because everything is bundled in one file
Jul 15, 2024
ViktorSoroka07
changed the title
In v4 API is not working compoletely because everything is bundled in one file
In v4 API is not working completely because everything is bundled in one file
Jul 15, 2024
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):
The text was updated successfully, but these errors were encountered: