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

sass: remove sourceMappingURL from result.code #297

Merged
merged 2 commits into from
Jan 29, 2021

Conversation

milahu
Copy link
Contributor

@milahu milahu commented Jan 6, 2021

related to issue #286 and PR sveltejs/svelte#5854

sourcemaps should be returned either in result.map or in result.code but not in both

keeping the /*# sourceMappingURL=component.svelte.map */ magic comment
makes the browser display wrong mappings
*can* make the browser display wrong mappings, if the sourcemap file exists (component.svelte.map)

(there is another bug with sourcemaps, so mappings are still wrong in the browser)
fixed by sveltejs/rollup-plugin-svelte#175

Copy link
Member

@benmccann benmccann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Is there a test we can add for this?

@Maggi64 Maggi64 mentioned this pull request Jan 18, 2021
@kaisermann kaisermann merged commit 2ff48f8 into sveltejs:main Jan 29, 2021
@kaisermann
Copy link
Member

Ni-ni-ni-nice! Thanks! Released in v4.6.5 🎉

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.

3 participants