spring-io / antora-ui-spring

Mozilla Public License 2.0
13 stars 26 forks source link

Calls to asciidocExtensionRegistered.js do not work gulp preview #200

Closed philwebb closed 4 months ago

philwebb commented 4 months ago

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.