Closed stoplion closed 4 years ago
+1 on this. Not holding my breath about getting a response. Been almost 5 months and there's no reply to this issue.
Looking at the source code suggested that using dest() should actually work. Webpack-stream uses a virtual filesystem for webpack, so unless you pipe the output into dest it will not write any files to disk at all.
Pass configs to your build maybe like this. The output directive is important.
.pipe(webpack({
mode: "production",
output: {
filename: 'lazysizes.js',
},
}))
Unless I'm misunderstanding, when running...
a javascript file will never make to the dir
foobar
.It just drops it in the
dist
, regardless of whatgulp.dest
you set.Is this correct?
The destination is actually set in the webpack config and never the
pipe(gulp(dest))
?