node_modules should not be part of the Mendix project source - Mendix Forum

node_modules should not be part of the Mendix project source

2

I use custom javascript actions a lot. It's a great feature to extend the functionality for your apps.

However the result of using an external dependency is a node_modules directory within your Mendix project source files.

These files and folders are send to the versioning system, which should never be the case in my opinion.

Studio Pro should be able to dynamically add these dependencies, since we are already have to make dependency json files to define the package + version number. Also described here: https://docs.mendix.com/howto/extensibility/create-native-javascript-action/#install-dependency-project

My request is: Studio Pro should handle the javascript dependencies without including the node_modules folders/files into the versioning system. For both web and native javascript actions.

asked
0 answers