-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Labels
Description
Even when my files are in folders below the assets path, the output is always spit out to the assets path. For example, if my assets path is '/assets/' and my entry point is at '/assets/js/main.js', the output should be back in the js folder, but it's always in the assets folder.
function compileWebpack() {
return gulp.src(config.webpack.entryPoints, { base: config.paths.assets })
.pipe(webpack({
output: {
filename: '[name].bundle.js'
},
devtool: '#source-map'
}))
.pipe(gulp.dest(config.paths.assets));
}
mkg0