Every time trunk recompiles, it creates a randomized suffix to the index file that gets referenced from index.html . E.g., index-a8e190f3e5364fb2.js. This files adds some JS code that links the rust and JS together.
Some of the references get added to index.html that point to that file (and the randomized css file), but the line
import {load_yaml_file} from '/MathCATDemo/index-a8e190f3e5364fb2.js';
does not get updated.
I have been manually copy/pasting this, but that needs to get fixed.
Either:
Find out how to get this done by trunk (there really should be a way)
Failing that, add a sed command to the build system (probably in trunk.toml )
Every time
trunk
recompiles, it creates a randomized suffix to the index file that gets referenced fromindex.html
. E.g.,index-a8e190f3e5364fb2.js
. This files adds some JS code that links the rust and JS together.Some of the references get added to index.html that point to that file (and the randomized css file), but the line
does not get updated.
I have been manually copy/pasting this, but that needs to get fixed.
Either:
sed
command to the build system (probably intrunk.toml
)