Hyphenopoly don't load with pagedjs-cli
I try to use Hyphenopoly with pagedjs-cli. (https://github.com/mnater/Hyphenopoly)
It works perfectly when I use the script with the polyfill version (0.3.4) in a browser but I can't get it to work with the command line version.
Here is the bash command I use (with the two script uses in the browser):
pagedjs-cli index.html --additional-script Hyphenopoly_Loader.js --additional-script hyphenationHook.js -o result.pdf
I also try:
pagedjs-cli index.html --additional-script Hyphenopoly.js --additional-script Hyphenopoly_Loader.js --additional-script hyphenationHook.js -o result.pdf
Maybe the problem is the way Hyphenopoly_Loader.js
loads the files it needs?
Here is a test folder: hyphenopoly_issue.zip