JS clean for Mistika 6.5

From version 6.5, Mistika is no longer tied to using a static path for all .js files. This is good news, but also means my old jsClean.py script will not work properly from anymore.

I’ve therefore made a new script, ¬†which let’s you pick .env files and folders of .js files manually. All .js files in those folders NOT being used in any of the .env files will be moved to a trash folder (so you can flush cache and see that you still have everything you need, before you delete those files permanently.)

I just wrote this yesterday, and have only tested it on a few projects, but it seems to work as it should.

jsClean65.py does not depend on the emp package, and can be launched from outside Mistika.

Download jsClean65.py

Comments are closed.