documentation/__tests__/fixture/external.input.js
Tom MacWright 5b373ff2fe revert(polyglot): Remove polyglot mode
BREAKING CHANGE: I'd like to still support C++ and other languages in the future! But I'm much
happier doing so by separating the extraction & input phases to the degree that documentation.js can
read the output of another module that extracts JSDoc comments from C++ code, rather than having CPP
support in it.

Fixes #850. Fixes #731. Fixes #702. Fixes #132.
2017-07-27 13:58:49 -04:00

13 lines
171 B
JavaScript

require('external');
require('external2');
require('module-not-found');
/**
* I am in `external.input.js`.
*/
function foo() {
return 'bar';
}
module.exports = foo;