Closed jmarshall9120 closed 3 years ago
It was a version compatibility thing. Resolved it from this example in your docs here
const gulp = require('gulp');
const webpack = require('webpack');
const gulpWebpack = require('webpack-stream');
gulp.task('default', function() {
return gulp.src('src/entry.js')
.pipe(gulpWebpack({}, webpack))
.pipe(gulp.dest('dist/'));
});
The below syntax for entry doesn't seem to be supported. Can this be confirmed?
entry portion of my webpack.config.js
error:
this syntax works just fine if I run webpack by itself. Docs here