Currently calls to asciidocExtensionRegistered.js do not appear to work when running gulp preview. This results in incorrect tab imports which make the preview look strange.
I've tracked down the call to this line. If I remove { paths: require.main.paths } things appear to work for the preview but I'm not confident that the change won't break something else.
I'll submit a PR, but I think it should be carefully reviewed by someone with better Javascript skills.
Currently calls to
asciidocExtensionRegistered.js
do not appear to work when runninggulp preview
. This results in incorrect tab imports which make the preview look strange.I've tracked down the call to this line. If I remove
{ paths: require.main.paths }
things appear to work for the preview but I'm not confident that the change won't break something else.I'll submit a PR, but I think it should be carefully reviewed by someone with better Javascript skills.