Save As Project does not include all javascript dependencies
Max Waters
6月 28 2024 | 5:25 午前
I've noticed that when saving as a project, not all javascript files end up in the project's /code
directory.
For example, if a patcher has [js myfile.js]
, and myfile.js
requires dependency.js
, then only myfile.js
is copied into /code
. The other file, dependency.js
, appears in the list of files in the project window, but has to be manually copied to the local directory.
Is this intentional? And is there a way to make sure that all dependencies are included? Manually adding each file in the project window is not a great way to work.
(I have tried selecting "Always Localise ..." then reloading, but no luck).
sousastep
6月 29 2024 | 7:17 午後
I've noticed that pngs initialized as javascript arguments in jsui objects have to be manually copied as well.
There's currently no way for JS files to tell Max about file dependencies.