JSScripting in v3.2 loads node_modules on startup?

I’ve worked an a solution for the node_modules directory issue. At the same time I’ve changed the behaviour to allow loading of relative files from the root folder.

You can download my build jar from github and create an .ohignore file in the automation/js directory

Use it like a .gitignore file and add following content as example.

node_modules/**
.git/**
do-not-load-me.js

This should skip all files within the node_modules directory and .git directory (if you use git). And the file do-not-load-me.js in the automation/js directory.