Freezing doesn't copy javascript dependencies referenced using include?

Krishnan Anantheswaran's icon

I have a JSUI file - say x.js - that includes y.js. When I freeze the M4L patch, it doesn't seem to be copying y.js into the frozen assets. The workaround I used was to create a non-functional JSUI component that is tied to y.js to force it to be copied.

Is this a known issue?

Thanks in advance,
Krishnan

tyler mazaika's icon

This is my experience using "Export Max for Live Device" flow as well. Yes, you can either add a [js] or [jsui] object with the include file as a workaround. Or you can explicitly add the include file into your Project.