How are the examples/js/ and examples/jsm/ folders managed?

There’s duplicate code in those. Are the changes manually done in both folders? Or is there something automated in place?

It’s automated. You change /js and run node utils/modularize.js.


I was looking for the command, this is now npm run build-examples
You make changes in examples/jsm and the command updates examples/js