Combining JS Files When Previewing

When I preview certain designs, I sometimes get a ‘Uncaught ReferenceError’ JavaScript error.

In these cases, I have multiple JS files that are loaded in alphabetical order. A function that an earlier script needs is defined in a file that’s loaded later.

When exporting a design, it’s not an issue because all the JS files are combined into a single file. Would it be possible to do the same thing when previewing?

You can change the order that the js loads using the JS File Order.


Just right click on the Javascript dropdown in the design tab and click include order

Thanks for this tip. I didn’t know it existed.

1 Like