Skip to content

Use absolute filepaths in sourcemap 'sources' list.#669

Merged
loganfsmyth merged 1 commit into
babel:masterfrom
loganfsmyth:absolute-sourcemap-paths
Sep 2, 2018
Merged

Use absolute filepaths in sourcemap 'sources' list.#669
loganfsmyth merged 1 commit into
babel:masterfrom
loganfsmyth:absolute-sourcemap-paths

Conversation

@loganfsmyth
Copy link
Copy Markdown
Member

This is a cleaned up and tweaked implementation of #481. Essentially, passing the absolute path means that Webpack can actually map the item in the sources array back to it's internal array of files, which is what allows things like [absolute-resource-path] to work. Otherwise it essentially seems the sources items as a mostly opaque string.

Fixes #480, Fixes #93, Fixes #481

@loganfsmyth loganfsmyth force-pushed the absolute-sourcemap-paths branch from d11d65e to 88064b1 Compare September 2, 2018 21:59
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

Successfully merging this pull request may close these issues.

1 participant