Here is the code snippet for my `open.js` task:
import gulp from 'gulp';
import gulpOpen from 'gulp-open';
gulp.task('open', () => { // doesn't work with `function()` either.
const options = {
uri: 'localhost:2368'
};
gulp.src(__filename)
.pipe(open(options));
});
This specific example mirrors the examples provided by gulp-open
which can be found here.
The issue I am encountering is a
ReferenceError: open is not defined.
I have made use of ES6 imports in my gulpfile.babel.js
.