In such syntax: ---- import { getUsefulContents } from '/modules/file.js'; ---- If getUsefulContents is not defined in file.js or is not exported thanks to the export statement, references to it will not work as expected. ifdef::env-github,rspecator-view[] == Comments And Links (visible only on this page) include::comments-and-links.adoc[] endif::env-github,rspecator-view[]