Closed
Description
Related to this issue:
documentationjs/documentation#112
ES6 documentation cannot be created without the --polyglot
option. It does not appear as though I can pass this argument via gulp, as demonstrated by my task:
gulp.task('documentation', function() {
gulp.src(src)
.pipe(documentation({
format: 'html',
polyglot: true
}))
.pipe(gulp.dest('md-documentation'));
});
and the error I get as a result:
events.js:141
throw er; // Unhandled 'error' event
^
Error: Parsing file *: 'import' and 'export' may appear only with 'sourceType: module' (4:0)
but not via the CLI:
documentation * --polyglot
Metadata
Metadata
Assignees
Labels
No labels