Skip to content

The base options for src aren't being honored #58

@ssartell

Description

@ssartell

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));
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions