You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 9, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 9, 2020. It is now read-only.
beta.48 fixed issue with paths on Windows, but now source map does not include package internal dependencies — only package itself and jspm_packages dependencies:
src/dep.js explicitly imported by src/app.js with import './dep, and final bundle has code from dep.js, but just does not exist in sourcemaps
Here is console output:
I also have another very large projects with good amount local package dependencies, and it has same issue — they all no longer appear in sourcemaps with beta.48.
Activity
ArmorDarks commentedon May 4, 2018
Archive with reproducted issue
guybedford commentedon May 4, 2018
Are you sure this isn't the result of tree-shaking removing use of the dependency entirely?
ArmorDarks commentedon May 4, 2018
Well, at least it shouldn't.
src/dep.jsexplicitly imported bysrc/app.jswithimport './dep, and final bundle has code fromdep.js, but just does not exist in sourcemapsHere is console output:
I also have another very large projects with good amount local package dependencies, and it has same issue — they all no longer appear in sourcemaps with beta.48.
guybedford commentedon May 4, 2018
Odd, perhaps Rollup is just not outputting source maps dependencies that have invalid file paths?
ArmorDarks commentedon May 4, 2018
Can't tell. The paths should be valid. I guess it would error about non-existing files if paths were invalid?
But I mostly certain it's an issue with Rollup.