split extra_scripts to handle root_path shenanigans

This commit is contained in:
QuietMisdreavus 2018-12-20 10:57:03 -06:00
parent 0b0a00cc05
commit 8dc8d7ac51
3 changed files with 29 additions and 10 deletions

View file

@ -16,3 +16,9 @@
// @matches - '"\.\./search-index\.js"'
// @!matches - '"/cache/search-index\.js"'
pub struct SomeStruct;
// @has src/static_root_path/static-root-path.rs.html
// @matches - '"/cache/source-script\.js"'
// @!matches - '"\.\./\.\./source-script\.js"'
// @matches - '"\.\./\.\./source-files.js"'
// @!matches - '"/cache/source-files\.js"'