Open mylastore opened 5 years ago
I figure out why just corrected my gulp pipe entry src I was pointing both gulp src and entry src to index.js that contains the esm module.
function scripts() {
return gulp.src('./index.js')
.pipe(gulpWebpack({
entry: {
'main-new': './src/js/main.js'
},
I implemented this per example using index.js pointing to main.js, also using gulp with webpack-stream and when it gets to gulp task scripts below
I get this error