Skip to content

recipe browserify-transforms is broken #2825

Open

Description

@ggenellina

The recipe browserify-transforms recipe contains this line:

.pipe(source('app.js', { sourcemaps: true }))

It's wrong, source is the vinyl-source-stream plugin and does not take such second parameter. I think the author supposed it to be gulp.src() but it is not. I think it was an attempt to use the built-in sourcemap support instead of the gulp-sourcemaps plugin, but it doesn't work as written.
I don't know how to rewrite the example using the built-in sourcemap support (is it doable at all?)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions