Custom .js file not copied to project (RH 2020.6.76)
I have made a .js file with code to sort a table column (copied from w3schools).
The code resides in my project's contents\assets\scripts\webhelp_scripts.js
The topic that contains the table to be sorted has the line
<script src="../../../assets/scripts/webhelp_scripts.js"></script>
If I preview the topic in Chrome, the script works just fine.
However, if I compile the project, the js file is not copied to the \assets\scripts folder, so the sorting does not work. If I copy the .js file to the output manually, the sorting works again.
Do js files need to be in a specific location to be copied to the output?
