Embedded your dependencies inside your gradle build js

Hello,
I have a multiplateform gradle kotlin build.
I also have dependencies to kotlin js libs who are stored in jar.

I want to embedded this dependencies into my js build.

Is there a way to automatically unzip the dependencies in another directory, and adapt all the import to the dependencies in this directory?