Skip to content

add outputFilename option for sourcemap generation#295

Merged
Rich-Harris merged 2 commits intomasterfrom
sourcemaps
Feb 24, 2017
Merged

add outputFilename option for sourcemap generation#295
Rich-Harris merged 2 commits intomasterfrom
sourcemaps

Conversation

@Rich-Harris
Copy link
Copy Markdown
Member

While investigating #293 it became apparent that Svelte needs more information to generate decent sourcemaps — namely, it needs to know where the output file is being generated so that it can populate the sources field correctly (or rather pass that information onto magic-string so that it can populate it correctly).

This mostly affects the CLI (e.g. rollup-plugin-svelte doesn't care about the sourcemap source as Rollup takes care of that sort of thing).

@Rich-Harris Rich-Harris merged commit 610dff5 into master Feb 24, 2017
@Rich-Harris Rich-Harris deleted the sourcemaps branch February 24, 2017 20:44
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