[files.assets.config]
target_dir="src/warc2zim/statics"
execute_after=[
    "cd ../../../ && python rules/generate_rules.py", # generate Python (and JS) rules
]

[files.assets.actions."wombat.js"]
action="get_file"
source="https://cdn.jsdelivr.net/npm/@webrecorder/wombat@3.7.7/dist/wombat.js"
target_file="wombat.js"

[files.assets.actions."wombatSetup.js"] # fallback if this script has not been properly build (should happen only in dev)
action="get_file"
source="https://dev.kiwix.org/warc2zim/wombatSetup.js"
target_file="wombatSetup.js"
