Migraton from 8.6.1 to 8.6.1-dev package

Halo everyone .
I have installed suitecrm 8.6.1.zip on my aws instance and customized it .
now I tried to add js code and gone through doumentation it says i need 8.6.1-dev pkg. is there anyway to migrate to dev pakage without losing customization? or to add JS without migration please guide . thanks in advance.

I believe the only difference the dev package has is an additional directory called β€œdist” which has the compiled front end.

Try just copying that directory from the dev zip file into your installation, I think that should work.