babel / babel/gulp-babel

generated source maps are broken

Open
#159 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
113
PR merge metrics
No merged PRs in 30d

Description

Hi all,

I can't seem to generate valid sourcemaps when using gulp-babel, please let me know if I'm missing something or got something wrong, but I think this is a bug.

You can reproduce this behaviour here: https://github.com/Wonko7/gulp-babel-bug-report

Using gulp-babel 8.0.0-beta.2 to build a project produces incorrect sourcemaps, whereas calling babel manually on each js file works.

If you need anything else let me know.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked reproduction repository and compare the source maps generated through gulp-babel 8.0.0-beta.2 with maps produced by calling Babel manually on each JavaScript file. Done means the gulp-babel output contains valid source maps matching the manual Babel behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.