Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recipe browserify-transforms is broken #2825

Open
ggenellina opened this issue Nov 18, 2024 · 0 comments
Open

recipe browserify-transforms is broken #2825

ggenellina opened this issue Nov 18, 2024 · 0 comments

Comments

@ggenellina
Copy link

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?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant